| Recommend this page to a friend! |
| Author | ||
![]() |
|
Innovation award![]() Nominee: 1x | |||||||||||||||||||
| Classes of Jacek Wloka | > | OTP_TS | > | Download .zip .tar.gz | > | > | > | |||||
|
|||||||||||||||||||||||
| Groups | Applications | |||||||||
| Groups | ||
| Cryptography | Encrypting, decrypting and hashing data | View top rated classes |
| Innovation Award | ||
![]() June 2007 Number 8 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. Manuel Lemos |
| User ratings | ||
| Not yet rated by the users |
| Applications that use this class | ||
| Link | Description |
|---|---|
| Package OTP_TS | Package rar class OTP_TS |
| File | Role | Description |
|---|---|---|
| Example | Example 1 of file | |
| Example | Example 3 | |
| Example | Text example 1 | |
| Class | class OTP_TS | |
| Icon | img 1 |
| Download all files: otp_ts.tar.gz otp_ts.zip |