Java Randomness Test Suite

Home
Tests
Algorimths
FAQ
JavaDoc
Mailing List
Change Log
Contact
License
Links
Contribute
CVS
JRandTest at SourceForge
SourceForge Logo

Algorithms

Each algorithm can be tested with one of the tests

Each algorithm class, i.e. <classname>, is defined as:

java.lang.Object com.fasteasytrade.JRandTest.IO.FileRandomStream [new window] com.fasteasytrade.JRandTest.IO.FileAlgoRandomStream [new window] com.fasteasytrade.JRandTest.Algo.<classname> Also, each class implements the interfaces: AlgoRandomStream, RandomStream Usually, algorithm class use a cipher algorithm as PRNG. Currently all the ciphers/prngs are defined as: java.lang.Object com.fasteasytrade.JRandTest.Algo.Cipher [new window] com.fasteasytrade.JRandTest.Algo.<prngclassname>

List of Algorithms

  1. AES Simple java AES algorithm as a random stream.
  2. ARC4 Alleged RC4 algorithm as a random stream
    • RC4Key Alleged RC4 implemented as RC4Key.
  3. BBS BBS encryption algorithm as a random stream Use BBSPrng class.
    • BBSPrng BBS encryption algorithm. The following program implements and tests the Blum-Blum-Shub random bits generator.
  4. BlowFish Stream of random bytes from BFcipher class
    • BFcipher BFcipher class - pure java implementation of Blowfish cipher Copyright (c) 1997 Andrew Tuman.
  5. CubicResidue CubicResidue Prng algorithm from NIST test package Use CubicResiduePrng class.
    • CubicResiduePrng CubicResidue Prng algorithm from NIST test package Fix random p, prime, length 512 bits.
  6. DES Simple java DES algorithm as a random stream.
  7. JavaRandom Simple java random as a random stream
  8. JavaSecuredRandom Simple java secured random as a random stream
  9. Lcg1 Simple LCG from NIST test package as a random stream
    • Lcg1Prng Simple LCG from NIST test package Seed to LCG is double Each cycle returns new double.
  10. MicaliSchnorr Micali-Schnorr algorithm as a random stream.
    • MicaliSchnorrPrng Micali-Schnorr Prng algorithm.
  11. ModulusExponent ModulusExponent Prng algorithm from NIST test package Use ModulusExponentPrng class.
    • ModulusExponentPrng ModulusExponent Prng algorithm from NIST test package Fix random p, prime, length 512 bits.
  12. MT19937 Stream of random bytes from MT class
    • MT19937Prng class implements MT19937 prng.
  13. QuadraticResidue1 QuadraidResidue Prng algorithm from NIST test package Use QuadraticResidue1Prng class.
    • QuadraticResidue1Prng QuadraidResidue1 Prng algorithm from NIST test package Fix random p, prime, length 512 bits.
  14. QuadraticResidue2 QuadraidResidue Prng algorithm from NIST test package Use QuadraticResidue2Prng class.
    • QuadraticResidue2Prng QuadraidResidue2 Prng algorithm from NIST test package Fix random p, prime, length 512 bits.
  15. RSA RSA algorithm as a random stream.
    • RSACrypt Java RSA algorithm implementation.
  16. SHA1Random SHA1 algorithm as a random stream based on SHA-1 Message Digest class.
    • SHA1 SHA-1 Message Digest class.
  17. SkipjackRandom Skipjack algorithm as a random stream based on Skipjack encryption algorithm class.
    • Skipjack Java Skipjack algorithm implementation.
  18. TripleDES Simple java TrippleDES algorithm as a random stream.
  19. ZAC3Random algorithm as a random stream based on ZAC3 encryption algorithm.
    • ZAC3 encryption algorithm.
  20. ZAC5Random algorithm as a random stream based on ZAC5 encryption algorithm.
    • ZAC5 encryption algorithm.
View Class Hierarchy [new window] page for all packages, plus a hierarchy for each package.

Copyright © 2005 Zur Aougav
aougav@hotmail.com
All rights reserved
Last modified: Wed Apr 20 21:36:38 2005