RC5 block cipher implement in PHP and Javascript

In cryptography, RC5 is a symmetric-key block cipher notable for its simplicity. Designed by Ronald Rivest in 1994. RC5 encryption and decryption both expand the…

XXTEA block cipher implement in PHP and Javascript

In cryptography, Corrected Block TEA (often referred to as XXTEA) is a block cipher designed to correct weaknesses in the original Block TEA. Source: https://en.wikipedia.org/wiki/XXTEA…

XTEA block cipher implement in PHP and Javascript

In cryptography, XTEA (eXtended TEA) is a block cipher designed to correct weaknesses in TEA. The cipher’s designers were David Wheeler and Roger Needham of…

Test vectors TEA

Read first: TEA block cipher implement in PHP and Javascript We provide some test vectors for TEA: Here is the code we use: Function strToHex

TEA block cipher implement in PHP and Javascript

In cryptography, the Tiny Encryption Algorithm (TEA) is a block cipher notable for its simplicity of description and implementation, typically a few lines of code.…

Spritz stream cipher implement in PHP and Javascript

Ron Rivest and Jacob Schuldt have proposed replacing RC4 with an improved and slightly modified version dubbed Spritz. The value w, is relatively prime to…

RC4+ stream cipher implement in PHP and Javascript

RC4+ is a modified version of RC4 with a more complex three-phase key schedule (taking about 3× as long as RC4, or the same as…

VMPC stream cipher implement in PHP and Javascript

VMPC (Variably Modified Permutation Composition) is a stream cipher similar to the well known and popular cipher RC4 designed by Ron Rivest. It was designed…

RC4A cipher implement in PHP and Javascript

RC4A is one of RC4 variants. Souradyuti Paul and Bart Preneel have proposed an RC4 variant, which they call RC4A. We provide some function implement…

RC4 implementation in PHP and Javascript

In cryptography, RC4 (Rivest Cipher 4 also known as ARC4 or ARCFOUR meaning Alleged RC4, see below) is a stream cipher. We provide some function…