I am trying to encrypt a password value before it is being added to the database. Can someone please help me with this?
I am currently getting the following error message:
Compiler Error Message: BC30451: Name 'EncryptIt' is not declared.
Source Error:
|
Line 215: objDataRow("Password") = System.DBNull.Value
Line 216: else
Line 217: objDataRow("Password") = EncryptIt(Password, strENCRYPTION_TYPE)
Line 218: end if
|
Here's some of my code:
dim Password as String
Password = txtPassword.Text
code that has an error: 'Set string values
if Password = "" then
objDataRow("Password") = System.DBNull.Value
else
objDataRow("Password") = EncryptIt(Password, strENCRYPTION_TYPE)
end if
Edited by Misty - 10 May 2005 at 3:15pm