XSalsa20, ChaCha, Faster + Reduced Round Salsa20 by timw · Pull Request #20 · bcgit/bc-java
and others added 9 commits
July 6, 2013 20:53Salsa20Engine is refactored slightly to allow XSalsa20Engine to override key setup, algorithm name and nonce size. XSalsa20 test vectors copied from CryptoPP (which generated them using nacl xsalsa20 implementation).
Standard 20 round, and reduced round variants are supported. Test vectors for 20/12/8 round variants generated with reference implementation from estreambench-20080905.
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).
bcgit
removed their assignment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters