XOR Encryption4

By Scott Clark on Sep 9, 2009

This encryption method performs a bitwise XOR on each character of the data you wish to encrypt with a series of mathematically generated keys. This key is generated using a pseudo-random number generator using a hash of the password as the seed. The security of the encrypted data is dependent on the length and randomness of the key. Don’t make this script the only form of security on your site as XOR encryption has its weaknesses.