Add support for reduced round Salsa20 (e.g. Salsa20/12, Salsa20/8).
Test vectors generated with the reference implementations in estreambench-20080905.
Refactor Salsa20Engine to allow variants (e.g. ChaCha) to override key setup, block counter and state permutation.
Implementation of ChaCha variant of Salsa20 stream cipher.
Standard 20 round, and reduced round variants are supported.
Test vectors for 20/12/8 round variants generated with reference implementation from estreambench-20080905.
Registerize variables in core Salsa20 state permutation.
This boosts speed on 64 bit Java 7, OS X Macbook Pro 2.5GHz Core i5 from 100MB/s (23 c/b) to 114MB/s (21 c/b) (measured on long streams).