Index of all Fields and Methods
All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- add(BigInteger, BigInteger).
Method in class java.math.BigInteger
-
- add(BigNum, BigNum, BigNum).
Static method in class java.math.BigNum
-
- add(BigNum, int).
Static method in class java.math.BigNum
-
- add(byte[]).
Method in class java.crypt.MessageDigest
- Add a byte array to the digest
- add(byte[], int, int).
Method in class java.crypt.MessageDigest
- Add a section of a byte array to the digest
- add(int).
Method in class java.math.BigInteger
-
- add(String).
Method in class java.crypt.MessageDigest
- Add the low bytes of a string to the digest (ie.
- add(String, int, int).
Method in class java.crypt.MessageDigest
- Add the low bytes of a string to the digest (ie.
- addToDigest(byte[], int, int).
Method in class java.crypt.MD5
- Add data to the message digest (calls the native code).
- addToDigest(byte[], int, int).
Method in class java.crypt.MessageDigest
- Add the data to the hash.
- addToDigest(byte[], int, int).
Method in class java.crypt.SHA
- Add data to the message digest (calls the native code).
- assign(BigInteger).
Method in class java.math.BigInteger
-
- assign(BigNum, int).
Static method in class java.math.BigNum
-
- assign(int).
Method in class java.math.BigInteger
-
- BigInteger().
Constructor for class java.math.BigInteger
-
- BigInteger(BigInteger).
Constructor for class java.math.BigInteger
-
- BigInteger(byte[]).
Constructor for class java.math.BigInteger
-
- BigInteger(int).
Constructor for class java.math.BigInteger
-
- BigInteger(String).
Constructor for class java.math.BigInteger
-
- BigNum().
Constructor for class java.math.BigNum
-
- bitLength().
Method in class java.math.BigNum
-
- bitLength().
Method in class java.crypt.rsa.PublicKey
- get the keys bit length.
- BLOCK_LENGTH.
Static variable in class java.crypt.Blowfish
- This is the length of a block.
- BLOCK_LENGTH.
Static variable in class java.crypt.DES
- This is the length of a block.
- BLOCK_LENGTH.
Static variable in class java.crypt.IDEA
- This is the length of a block.
- BlockCipher().
Constructor for class java.crypt.BlockCipher
-
- blockDecrypt(byte[], int, byte[], int).
Method in class java.crypt.BlockCipher
- Perform a decryption.
- blockDecrypt(byte[], int, byte[], int).
Method in class java.crypt.Blowfish
- Decrypt a block.
- blockDecrypt(byte[], int, byte[], int).
Method in class java.crypt.DES
- Decrypt a block.
- blockDecrypt(byte[], int, byte[], int).
Method in class java.crypt.IDEA
- Decrypt a block.
- blockEncrypt(byte[], int, byte[], int).
Method in class java.crypt.BlockCipher
- Perform an encryption.
- blockEncrypt(byte[], int, byte[], int).
Method in class java.crypt.Blowfish
- Encrypt a block.
- blockEncrypt(byte[], int, byte[], int).
Method in class java.crypt.DES
- Encrypt a block.
- blockEncrypt(byte[], int, byte[], int).
Method in class java.crypt.IDEA
- Encrypt a block.
- blockLength().
Method in class java.crypt.BlockCipher
- Return the block length of this cipher.
N.B. the library writer should also implement a
public static final int BLOCK_LENGTH
for any classes that derive from
this one
- blockLength().
Method in class java.crypt.Blowfish
- Return the block length of this cipher.
- blockLength().
Method in class java.crypt.DES
- Return the block length of this cipher.
- blockLength().
Method in class java.crypt.IDEA
- Return the block length of this cipher.
- Blowfish(byte[]).
Constructor for class java.crypt.Blowfish
- This creates a Blowfish block cipher from a byte array of a variable length.
- buf.
Variable in class java.math.PsudeoRandomStream
-
- byteLength().
Method in class java.math.BigNum
-
- cipher.
Variable in class java.crypt.CipherFeedback
-
- CipherFeedback(BlockCipher, byte[]).
Constructor for class java.crypt.CipherFeedback
-
- clock().
Method in class java.math.PRNG
- moves the internal state on one cycle.
- clone().
Method in class java.math.BigInteger
-
- clone().
Method in class java.math.BigNum
-
- cmp(BigInteger).
Method in class java.math.BigInteger
-
- cmp(BigNum, BigNum).
Static method in class java.math.BigNum
-
- copy(BigNum, BigNum).
Static method in class java.math.BigNum
-
- copy(Object).
Method in class java.math.BigInteger
-
- copy(Object).
Method in class java.math.BigNum
-
- copy(Object).
Method in class java.crypt.rsa.PublicKey
- copies a key if it is an instance of java.crypt.rsa.PublicKey.
- CreateHash(byte[]).
Static method in class java.crypt.MD5
- Returns the hash of a single byte array.
- CreateHash(byte[]).
Static method in class java.crypt.SHA
- Returns the hash of a single byte array.
- createKey(int).
Method in class java.crypt.rsa.RSAKeyGen
- This function creates a Secret Key
N.B. this can take a LONG time.
- createKey(int, RSAKeyGenObserver).
Method in class java.crypt.rsa.RSAKeyGen
- An observer class is used to monitor progress.
- createKey(RandomStream, int).
Static method in class java.crypt.rsa.RSAKeyGen
- This function creates a Secret Key
N.B. this can take a LONG time.
- createKey(RandomStream, int, RSAKeyGenObserver).
Static method in class java.crypt.rsa.RSAKeyGen
- An observer class is used to monitor progress.
- cryptFast(BigInteger, BigInteger).
Method in class java.crypt.rsa.SecretKey
- perform a fast encryption/decryption
- CSRandomStream(byte[]).
Constructor for class java.crypt.CSRandomStream
- creates a new Cryptographicly Secure Random Stream from a seed.
- currentByte.
Variable in class java.crypt.CipherFeedback
-
- d().
Method in class java.crypt.rsa.SecretKey
-
- d_.
Variable in class java.crypt.rsa.SecretKey
- the private exponent
- dec().
Method in class java.math.BigInteger
-
- dec(BigNum).
Static method in class java.math.BigNum
-
- decrypt(BigInteger).
Method in class java.crypt.rsa.SecretKey
- decrypt a number
used for decryption or signing
- decrypt(byte[]).
Method in class java.crypt.BlockCipher
- Decrypt a block of data.
- decrypt(byte[]).
Method in class java.crypt.StreamCipher
- This function decrypts a block of data.
- decrypt(byte[], byte[]).
Method in class java.crypt.BlockCipher
- Decrypt a block of data.
- decrypt(byte[], byte[]).
Method in class java.crypt.StreamCipher
- This function decrypts a block of data.
- decrypt(byte[], int, byte[], int).
Method in class java.crypt.BlockCipher
- Decrypt a block of data.
- decrypt(byte[], int, byte[], int, int).
Method in class java.crypt.CipherFeedback
- This function decrypts a block of data.
- decrypt(byte[], int, byte[], int, int).
Method in class java.crypt.StreamCipher
- This function decrypts a block of data.
- deriveKeys(BigInteger, BigInteger, BigInteger).
Method in class java.crypt.rsa.RSAKeyGen
- An observer class is used to monitor progress.
- DES(byte[]).
Constructor for class java.crypt.DES
- This creates a DES block cipher from a byte array of the correct length.
- digest().
Method in class java.crypt.MD5
- Returns the digest of the data added and resets the digest.
- digest().
Method in class java.crypt.MessageDigest
- Obtain the digest
N.B. this resets the digest.
- digest().
Method in class java.crypt.MessageDigestOutputStream
-
- digest().
Method in class java.crypt.SHA
- Returns the digest of the data added and resets the digest.
- digestAsHash().
Method in class java.crypt.MD5
- Returns the digest of the data added and resets the digest.
- digestAsHash().
Method in class java.crypt.MessageDigest
-
- digestAsHash().
Method in class java.crypt.MessageDigestOutputStream
-
- digestAsHash().
Method in class java.crypt.SHA
-
- div(BigInteger, BigInteger).
Method in class java.math.BigInteger
-
- div(BigNum, BigNum, BigNum).
Static method in class java.math.BigNum
-
- div(BigNum, BigNum, BigNum, BigNum).
Static method in class java.math.BigNum
-
- e().
Method in class java.crypt.rsa.PublicKey
-
- e_.
Variable in class java.crypt.rsa.PublicKey
- the public exponent
- encrypt(BigInteger).
Method in class java.crypt.rsa.PublicKey
- encrypts a number with this key.
- encrypt(BigInteger).
Method in class java.crypt.rsa.SecretKey
- encrypt a number
used for encryption or signature verification.
- encrypt(byte[]).
Method in class java.crypt.BlockCipher
- Encrypt a block of data.
- encrypt(byte[]).
Method in class java.crypt.StreamCipher
- This function encrypts a block of data.
- encrypt(byte[], byte[]).
Method in class java.crypt.BlockCipher
- Encrypt a block of data.
- encrypt(byte[], byte[]).
Method in class java.crypt.StreamCipher
- This function encrypts a block of data.
- encrypt(byte[], int, byte[], int).
Method in class java.crypt.BlockCipher
- Encrypt a block of data.
- encrypt(byte[], int, byte[], int, int).
Method in class java.crypt.CipherFeedback
- This function encrypts a block of data.
- encrypt(byte[], int, byte[], int, int).
Method in class java.crypt.StreamCipher
- This function encrypts a block of data.
- equals(Object).
Method in class java.crypt.rsa.PublicKey
- tests if an object is equal to this one.
- finalize().
Method in class java.math.BigInteger
-
- finalize().
Method in class java.math.BigNum
-
- FINDING_P.
Static variable in interface java.crypt.rsa.RSAKeyGenObserver
- the RSA Key Generator is searching for a suitable P
- FINDING_Q.
Static variable in interface java.crypt.rsa.RSAKeyGenObserver
- the RSA Key Generator is searching for a suitable Q
- fingerPrint().
Method in class java.crypt.rsa.PublicKey
- get the keys fingerprint.
- fromBinary(byte[]).
Method in class java.math.BigNum
-
- fromByteArray(byte[]).
Method in class java.math.BigInteger
-
- fromString(String).
Method in class java.math.BigInteger
-
- gcd(BigNum, BigNum).
Method in class java.math.BigInteger
-
- gcd(BigNum, BigNum, BigNum).
Static method in class java.math.BigNum
-
- handleEvent(int).
Method in interface java.math.TestPrimeObserver
-
- HAS_SMALL_FACTORS.
Static variable in interface java.math.TestPrimeObserver
-
- hash(byte[]).
Static method in class java.crypt.MD5
- Returns the hash of a single byte array.
- hash(byte[]).
Static method in class java.crypt.SHA
- Returns the hash of a single byte array.
- hash(byte[], MessageDigest).
Static method in class java.crypt.MessageDigest
- A convenience function for hashing a byte array.
eg:
byte key[] = MessageDigest.hash( bytearray, new MD5() );
- hash(String).
Static method in class java.crypt.MD5
- Returns the hash of a single string.
- hash(String).
Static method in class java.crypt.SHA
- Returns the hash of a single string.
- hash(String, MessageDigest).
Static method in class java.crypt.MessageDigest
- A convenience function for hashing a string.
eg:
byte key[] = MessageDigest.hash( passPhrase, new MD5() );
- HASH_LENGTH.
Static variable in class java.crypt.MD5
- This is the length of the final hash (in bytes).
- HASH_LENGTH.
Static variable in class java.crypt.SHA
- This is the length of the final hash (in bytes).
- hashCode().
Method in class java.math.BigNum
-
- HashMD5(byte[]).
Constructor for class java.crypt.HashMD5
- Creates this from a byte array that MUST be the the correct length
- HashMD5(MD5).
Constructor for class java.crypt.HashMD5
- Creates this from a MD5 message digestor.
- HashSHA(byte[]).
Constructor for class java.crypt.HashSHA
- Creates this from a byte array that MUST be the the correct length
- HashSHA(SHA).
Constructor for class java.crypt.HashSHA
- Creates this from a SHA message digestor
- hasSmallFactor(BigInteger).
Static method in class java.math.TestPrime
-
- hasSmallFactor(BigInteger, TestPrimeObserver).
Static method in class java.math.TestPrime
-
- id().
Method in class java.crypt.rsa.PublicKey
- gets the key id.
- IDEA(byte[]).
Constructor for class java.crypt.IDEA
- This creates a Idea block cipher from a byte array of the correct length.
- inc().
Method in class java.math.BigInteger
-
- inc(BigNum).
Static method in class java.math.BigNum
-
- insane().
Method in class java.crypt.rsa.SecretKey
- perform a sanity check on the key
- intoBinary(byte[]).
Method in class java.math.BigNum
-
- inverseModN(BigInteger, BigInteger).
Method in class java.math.BigInteger
-
- inverseModN(BigNum, BigNum, BigNum).
Static method in class java.math.BigNum
-
- IS_PRIME.
Static variable in interface java.math.TestPrimeObserver
-
- isPrime(BigInteger).
Static method in class java.math.TestPrime
-
- isPrime(BigInteger, TestPrimeObserver).
Static method in class java.math.TestPrime
-
- ivBlock.
Variable in class java.crypt.CipherFeedback
-
- KEY_GEN_DONE.
Static variable in interface java.crypt.rsa.RSAKeyGenObserver
- the RSA Key Generator has finished
- KEY_LENGTH.
Static variable in class java.crypt.DES
- This is the length of a the user key.
- KEY_LENGTH.
Static variable in class java.crypt.IDEA
- This is the length of a the user key.
- KEY_RESOLVING.
Static variable in interface java.crypt.rsa.RSAKeyGenObserver
- the RSA Key Generator is generation a key from P and Q
- keyLength().
Method in class java.crypt.BlockCipher
- Return the key length for this cipher.
N.B. the library writer should also implement a
public static final int KEY_LENGTH
for any classes that derive from
this one
- keyLength().
Method in class java.crypt.Blowfish
- Return the key length for this cipher.
- keyLength().
Method in class java.crypt.CipherFeedback
- This function returns the length of the key for this cipher.
N.B. The library writer should also implement a
public static final int KEY_LENGTH for any classes that derive from
this.
- keyLength().
Method in class java.crypt.DES
- Return the key length for this cipher.
- keyLength().
Method in class java.crypt.IDEA
- Return the key length of this cipher.
- keyLength().
Method in class java.crypt.StreamCipher
- This function returns the length of the key for this cipher.
N.B. The library writer should also implement a
public static final int KEY_LENGTH for any classes that derive from
this.
- len.
Variable in class java.math.PsudeoRandomStream
-
- length.
Variable in class java.crypt.CipherFeedback
-
- length().
Method in class java.crypt.MD5
- Return length of the hash (in bytes).
- length().
Method in class java.crypt.MessageDigest
- Return the hash length
N.B. It is advisable to add public static final int HASH_LENGTH
- length().
Method in class java.crypt.MessageHash
-
- length().
Method in class java.crypt.SHA
- Return length of the hash (in bytes).
- MD5().
Constructor for class java.crypt.MD5
- The public constructor.
- MD5OutputStream().
Constructor for class java.crypt.MD5OutputStream
- create a new digest output stream that uses MD5.
- MessageDigest().
Constructor for class java.crypt.MessageDigest
- Both protected and abstract, so this class must be derived
from in order to be useful.
- MessageDigestOutputStream(MessageDigest).
Constructor for class java.crypt.MessageDigestOutputStream
-
- MessageHash(byte[]).
Constructor for class java.crypt.MessageHash
- You can not create an instance of this object
- mod(BigInteger, BigInteger).
Method in class java.math.BigInteger
-
- mod(BigNum, BigNum, BigNum).
Static method in class java.math.BigNum
-
- modExp(BigInteger, BigInteger).
Method in class java.math.BigInteger
-
- modExp(BigNum, BigNum, BigNum, BigNum).
Static method in class java.math.BigNum
-
- modMul(BigNum, BigNum, BigNum, BigNum).
Static method in class java.math.BigNum
-
- modMulRecip(BigNum, BigNum, BigNum, BigNum, BigNum, short).
Static method in class java.math.BigNum
-
- MPI().
Constructor for class java.math.MPI
-
- mul(BigInteger, BigInteger).
Method in class java.math.BigInteger
-
- mul(BigNum, BigNum, BigNum).
Static method in class java.math.BigNum
- WARNING the result must not be a or b.
- n().
Method in class java.crypt.rsa.PublicKey
-
- n_.
Variable in class java.crypt.rsa.PublicKey
- the public modulus
- newBuffer(int).
Static method in class java.math.BigInteger
- An internal function to create a buffer big enough in which
to store a number.
- nextBuffer().
Method in class java.crypt.CSRandomStream
- Sets the internal buffer, length and pointer field to a new
set of random bits available for reading
- nextBuffer().
Method in class java.math.PsudeoRandomStream
-
- nextByte().
Method in class java.math.PsudeoRandomStream
-
- nextByte().
Method in class java.math.RandomStream
-
- NO_SMALL_FACTORS.
Static variable in interface java.math.TestPrimeObserver
-
- NOT_PRIME.
Static variable in interface java.math.TestPrimeObserver
-
- one.
Static variable in class java.math.BigInteger
-
- one(BigNum).
Static method in class java.math.BigNum
-
- p().
Method in class java.crypt.rsa.SecretKey
-
- p_.
Variable in class java.crypt.rsa.SecretKey
- one of the factors of n
- prng.
Variable in class java.math.PsudeoRandomStream
-
- PRNG().
Constructor for class java.math.PRNG
- Creates a psudeo random number generator from a default seed
- PRNG(byte[]).
Constructor for class java.math.PRNG
- Creates a psudeo random number generator from a seed
- PsudeoRandomStream(byte[]).
Constructor for class java.math.PsudeoRandomStream
-
- ptr.
Variable in class java.math.PsudeoRandomStream
-
- PublicKey().
Constructor for class java.crypt.rsa.PublicKey
-
- PublicKey(BigInteger, BigInteger).
Constructor for class java.crypt.rsa.PublicKey
- create a public key from a modulus and exponent
- PublicKey(PublicKey).
Constructor for class java.crypt.rsa.PublicKey
- create a new public key from an existing key.
- q().
Method in class java.crypt.rsa.SecretKey
-
- q_.
Variable in class java.crypt.rsa.SecretKey
- the other factors of n
- rand.
Variable in class java.crypt.rsa.RSAKeyGen
-
- randomPrime(int, RSAKeyGenObserver).
Method in class java.crypt.rsa.RSAKeyGen
- An observer class is used to monitor progress.
- RandomStream(byte[]).
Constructor for class java.math.RandomStream
-
- read().
Method in class java.math.RandomStream
-
- read(byte[]).
Method in class java.math.RandomStream
-
- read(byte[], int, int).
Method in class java.math.RandomStream
-
- read(DataInput).
Static method in class java.math.MPI
-
- recip(BigNum, BigNum).
Static method in class java.math.BigNum
-
- reset().
Method in class java.crypt.MD5
- Initialise (reset) the message digest.
- reset().
Method in class java.crypt.MessageDigest
- Initialise (reset) the message digest.
- reset().
Method in class java.crypt.SHA
- Initialise (reset) the message digest.
- RSAKeyGen(RandomStream).
Constructor for class java.crypt.rsa.RSAKeyGen
-
- SecretKey().
Constructor for class java.crypt.rsa.SecretKey
-
- SecretKey(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger).
Constructor for class java.crypt.rsa.SecretKey
- Creates a secret key pair from the component parts
- seed(byte[]).
Method in class java.math.PsudeoRandomStream
-
- seed(byte[]).
Method in class java.math.RandomStream
-
- SHA().
Constructor for class java.crypt.SHA
- The public constructor.
- SHAOutputStream().
Constructor for class java.crypt.SHAOutputStream
- create a new digest output stream that uses SHA.
- shiftLeft(BigNum, BigNum, short).
Static method in class java.math.BigNum
-
- shiftLeftOnce(BigNum, BigNum).
Static method in class java.math.BigNum
-
- shiftRight(BigNum, BigNum, short).
Static method in class java.math.BigNum
-
- shiftRightOnce(BigNum, BigNum).
Static method in class java.math.BigNum
-
- skip(long).
Method in class java.math.RandomStream
-
- StreamCipher().
Constructor for class java.crypt.StreamCipher
-
- sub(BigInteger, BigInteger).
Method in class java.math.BigInteger
-
- sub(BigNum, BigNum, BigNum).
Static method in class java.math.BigNum
-
- test().
Method in class java.crypt.rsa.SecretKey
- Perform a basic test on the key
- TestPrime().
Constructor for class java.math.TestPrime
-
- toByteArray().
Method in class java.math.BigInteger
- Convert a number into a byte array
- toByteArray().
Method in class java.crypt.MessageHash
-
- toByteArray().
Method in class java.math.PRNG
- Creates a psudeo random number generator from a seed
- toString().
Method in class java.math.BigInteger
-
- toString().
Method in class java.math.BigNum
-
- toString().
Method in class java.crypt.rsa.PublicKey
-
- toString().
Method in class java.crypt.rsa.SecretKey
- Access all parts of the secret key.
- u().
Method in class java.crypt.rsa.SecretKey
-
- u_.
Variable in class java.crypt.rsa.SecretKey
- the multiplic inverse of p mod q
- ucmp(BigNum, BigNum).
Static method in class java.math.BigNum
-
- write(byte[]).
Method in class java.crypt.MessageDigestOutputStream
- Writes an array of bytes to the message digestor
- write(byte[], int, int).
Method in class java.crypt.MessageDigestOutputStream
- Writes a sub array of bytes to the message digestor.
- write(DataOutput, BigInteger).
Static method in class java.math.MPI
-
- write(int).
Method in class java.crypt.MessageDigestOutputStream
- Writes a byte to the message digestor.
- xorBlock.
Variable in class java.crypt.CipherFeedback
-
- zero.
Static variable in class java.math.BigInteger
-
- zero().
Static method in class java.math.BigInteger
-
- zero(BigNum).
Static method in class java.math.BigNum
-