come si fà in vb.net a crittografare le password da memorizzare nel db?
come si fà in vb.net a crittografare le password da memorizzare nel db?
codice:sub Button_Click(s as Object, e as EventArgs) Dim strValue as string 'codifica SHA1 strValue = FormsAuthentication.HashPasswordForStoringInConfigFile( txtPass.Text, "SHA1" ) 'codifica MD5 'strValue = FormsAuthentication.HashPasswordForStoringInConfigFile( txtPass.Text, "MD5" ) lbl.Text = strValue end sub
"...non è detto che sia tardi se non guardi che ora è..."