A Spritz cipher implementation in pure Java.
Spritz is a RC4 redesign by Ron Rivest and Jacob Schuldt (PDF).
Spritz.encrypt(text, key)
Spritz.encrypt(text, key, iv)
Spritz.decrypt(text, key)
Spritz.decrypt(text, key, iv)
Spritz.hash(message, digest)
Spritz.mac(message, key, code)
Spritz.random()
Spritz.randomSeed(seed)
Release into the Public Domain.