HASH password
ok, i found this code to generate a password
Public
SharedFunction HashPassword(ByVal passwordAsString)AsStringDim shaAsNewSHA1ManagedDim passwordBytesAsByte() =Encoding.UTF8.GetBytes(password)'compute the hashDim hashAsByte() = sha.ComputeHash(passwordBytes)Return Convert.ToBase64String(hash)EndFunctionthe thing is i didnt do this function, and the program visual basic underlines the words i put in yellow.. it says
SHA1Managed is not defined
Encoding is not declared
if anyone can help me...or has another hash funcion to generate password i woudl appresiate, i looked all over and couldnt find one for visual basic...

