| || |
How to use an Encrypted password in the code
How can I use the encrypted password in the following example?
Set dbConn = CreateObject("ADODB.Connection")
dbConn.ConnectionString = "DSN=db123;UID=kaancha;PWD=apple1"
Instead of displaying the real password in the code I want to use the encrypted password being generated by QTP i.e."420b9c4fdf67def544028ef7edd703cd7069"
How can I display this password in the code and decrypt it at the run time?
Re: How to use an Encrypted password in the code
u can use the password encoder, but in that case u have to take the value from the datatable.
Else use the Crypt.Encrypt(pswd) statement.