Java Randomness Test Suite

JRandTest at SourceForge

com.fasteasytrade.JRandTest.Algo
Class Cipher

java.lang.Object
  extended bycom.fasteasytrade.JRandTest.Algo.Cipher
Direct Known Subclasses:
BBSPrng, BFcipher, CubicResiduePrng, Lcg1Prng, MicaliSchnorrPrng, ModulusExponentPrng, MT19937Prng, QuadraticResidue1Prng, QuadraticResidue2Prng, RC4Key, RSACrypt, SHA1, Skipjack, ZAC3, ZAC5

public class Cipher
extends Object

Cipher class is a base to all cipher algorithms in JRandTest.

Author:
Zur Aougav

Constructor Summary
Cipher()
           
 
Method Summary
static boolean compareBytes(byte[] A, byte[] B)
          Compare two arrays of bytes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cipher

public Cipher()
Method Detail

compareBytes

public static boolean compareBytes(byte[] A,
                                   byte[] B)
Compare two arrays of bytes.

Parameters:
A - first array byte
B - second array byte
Returns:
true if A == B, else false.

Java Randomness Test Suite

JRandTest at SourceForge

JRandTest at SourceForge
Copyright © 2005 Zur Aougav. All Rights Reserved.