i have table in my database that have senestive data such as password field i want to encrypt data before inserting it to table and then i want not to decrypt data but i want only to compare encrypted password with the input password without decrypting
Share
If you don’t need to decrypt the data you actually need hashing, e.g. SHA1 or similar algorithms provided by .NET in the System.Security.Cryptography namespace.