I'm working on a VB Project and I need an Encryption/Decryption Function. I need to store User Login info in a text file. I don't want it to be just plain text, so if anyone has a lightweight (Small and won't kill the CPU) function I could use that'd be great!
quote:The zip file contains both VB6 and ASP (VBScript) versions of code for generating a SHA-256 'digest' or 'signature' of a string. The SHA-256 algorithm is one of the industry standard methods for generating digital signatures. It is generically known as a digest, digital signature, one-way encryption, hash or checksum algorithm. A common use for SHA-256 is for password encryption as it is one-way in nature, that does not mean that your passwords are not free from a dictionary attack.
[Note] I realize that I could just encrypt the password I want to check against with SHA-256, but I'd be looping through hundreds of users...Too much strain on my Servers' CPU. [/Note]