com.fasteasytrade.JRandTest.Algo
Class Cipher
java.lang.Object
com.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
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 |
Cipher
public Cipher()
compareBytes
public static boolean compareBytes(byte[] A,
byte[] B)
- Compare two arrays of bytes.
- Parameters:
A
- first array byteB
- second array byte
- Returns:
- true if A == B, else false.
JRandTest at SourceForge
Copyright © 2005 Zur Aougav. All Rights Reserved.