|Classes of Jacek Wloka||>||OTP_TS||>||Download .zip .tar.gz||>||Support forum||>||Blog||>||Latest changes|
|Cryptography||Encrypting, decrypting and hashing data||View top rated classes|
Prize: One downloadable copy of PhpED Professional
|The quality of encryption algorithms depends on how hard they are to break using brute force methods.
Most strong encryption methods also take a lot of CPU resources to encrypt and decrypt data.
One time pad algorithms are much simpler and take less resources when used to encrypt and decrypt data.
This class implements a one-time pad algorithm in pure PHP code. It generates several hashes of the encryption password to compute a random cypher that is used to encrypt and decrypt data.
The actual encryption and decryption is very light because it consists of a simple XOR operation over the data to encrypt or decrypt. The encryption and encryption procedure is the same, making the class very small.
|Not yet rated by the users|
|Applications that use this class|
|Package OTP_TS||Package rar class OTP_TS|