A B C D E F G H I J L M N O P Q R S T U V W _

A

add(ModRep) - Method in class part2.ModRep
A method to perform addition on modular representations.
add(ECPoint) - Method in class part7.ECPoint
A method to add this point to the point p.
add(ECPoint) - Method in class part7.PointAtInfinity
 
add(ECPoint) - Method in class part7.RealPoint
 

B

BBS_PRNG - class part5.BBS_PRNG.
A class that implements a BBS Pseudo-Random Bit Generator.
BBS_PRNG(BigInteger, BigInteger, BigInteger) - Constructor for class part5.BBS_PRNG
A constructor that takes a seed value seed and the values needed to instantiate a BBS Pseudo-Random Bit Generator.

C

CRTRSAKeyGenerator - class part2.CRTRSAKeyGenerator.
 
CRTRSAKeyGenerator(BigInteger, BigInteger, SecureRandom) - Constructor for class part2.CRTRSAKeyGenerator
A constructor that generates an RSA key-pair using the primes p and q such that the private key uses the Chinese Remainder Theorem.
CRTRSAPrivateKey - class part2.CRTRSAPrivateKey.
A class that implements a CRT RSA private key.
CRTRSAPrivateKey(BigInteger, BigInteger, BigInteger) - Constructor for class part2.CRTRSAPrivateKey
A constructor for a CRT RSA private key using primes p and q, and priavte exponent d.
Curve - class part7.Curve.
A class used to represent an elliptic curve of the form y2=x3+ax+b over Zp where p is a prime greater than 3.
Curve(BigInteger, BigInteger, BigInteger) - Constructor for class part7.Curve
A constructor to create a canonical representation of an elliptic curve given a prime p and any values a & b.
combine(AbstractList, BigInteger) - Static method in class part1.Utilities
A method to combine a list of big integers produced by split().
compareTo(Object) - Method in class part7.ECPoint
A method that implements lexicographic ordering of points.
compareTo(Object) - Method in class part7.PointAtInfinity
 
compareTo(Object) - Method in class part7.RealPoint
 
compareTo(Object) - Method in class part7.Utilities.Point
A method that implements lexicographic ordering of points.
crack(SimpleRSAPublicKey, AbstractList) - Static method in class part2.Utilities
A method to crack RSA given a public key key and ciphertext text.

D

DLH - class part4.DLH.
A class that implements the Discrete Log Hash Function.
DLH(BigInteger, BigInteger, BigInteger) - Constructor for class part4.DLH
A constructor that instantiates an object with prime p and generators a & b.
DLH_PRNG - class part5.DLH_PRNG.
A class that implements a pseudo-random number/bit generator by using a part4.DLH hash function.
DLH_PRNG(BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class part5.DLH_PRNG
A constructor that takes a seed value seed and the values needed to instantiate a part4.DLH object.
decrypt(BigInteger) - Method in class part2.CRTRSAPrivateKey
A method to decrypt the ciphertext cipherText to a big integer value using the private key key.
decrypt(AbstractList) - Method in class part2.CRTRSAPrivateKey
A method to decrypt the ciphertext cipherText to a string value using this private key.
decrypt(AbstractList) - Method in class part2.PohligHellman
Decryption.
decrypt(BigInteger) - Method in interface part2.RSAPrivateKey
A method to decrypt the ciphertext cipherText to a big integer value using this private key.
decrypt(AbstractList) - Method in interface part2.RSAPrivateKey
A method to decrypt the ciphertext cipherText to a string value using this private key.
decrypt(BigInteger) - Method in class part2.SimpleRSAPrivateKey
A method to decrypt the ciphertext cipherText to a big integer value using the private key key.
decrypt(AbstractList) - Method in class part2.SimpleRSAPrivateKey
A method to decrypt the ciphertext cipherText to a string value using this private key.
decrypt(EGCipherText) - Method in class part3.EGPrivateKey
A method to decrypt the ciphertext cipherText to a big integer value using this private key.
decrypt(AbstractList) - Method in class part3.EGPrivateKey
A method to decrypt the ciphertext cipherText to a string value using this private key.
decrypt(ECCipherText) - Method in class part7.ECPrivateKey
A method to decrypt the ciphertext cipherText using this private key.
divm(BigInteger, BigInteger, BigInteger) - Static method in class part2.Utilities
A method to compute the a divided by b modulo m.

E

ECCipherText - class part7.ECCipherText.
A class used to represent ciphertext for ElGamal using elliptics curves.
ECCipherText(ECPoint, ECPoint) - Constructor for class part7.ECCipherText
 
ECKeyPair - class part7.ECKeyPair.
A class to generate a key-pair for ElGamal using elliptics curves.
ECKeyPair(Curve, ECPoint, SecureRandom) - Constructor for class part7.ECKeyPair
A constructor that generates an ElGamal key-pair from the curce c and base point b.
ECPoint - class part7.ECPoint.
A superclass used to represent points (including the point at infinity) of an elliptic curve.
ECPoint(Curve) - Constructor for class part7.ECPoint
A constructor for points on the curve c.
ECPrivateKey - class part7.ECPrivateKey.
A class to implement a private key for ElGamal using elliptics curves.
ECPrivateKey(Curve, ECPoint, BigInteger) - Constructor for class part7.ECPrivateKey
A constructor for an ElGamal private key (c,b,x).
ECPrivateKey(ECPrivateKey) - Constructor for class part7.ECPrivateKey
A copy constructor for an ElGamal private key.
ECPublicKey - class part7.ECPublicKey.
A class to implement a public key for ElGamal using elliptics curves.
ECPublicKey(Curve, ECPoint, ECPoint) - Constructor for class part7.ECPublicKey
A constructor for an ElGamal public key (c,b,p).
ECPublicKey(ECPublicKey) - Constructor for class part7.ECPublicKey
A copy constructor for an ElGamal public key.
EGCipherText - class part3.EGCipherText.
A class used to represent ElGamal ciphertext.
EGCipherText(BigInteger, BigInteger) - Constructor for class part3.EGCipherText
 
EGKeyPair - class part3.EGKeyPair.
A class to generate an ElGamal key-pair.
EGKeyPair(BigInteger, BigInteger, SecureRandom) - Constructor for class part3.EGKeyPair
A constructor that generates an ElGamal key-pair from the prime p and a generator g for Zp*.
EGPrivateKey - class part3.EGPrivateKey.
A class to implement an ElGamal private key.
EGPrivateKey(BigInteger, BigInteger, BigInteger) - Constructor for class part3.EGPrivateKey
A constructor for an ElGamal private key (p,g,x).
EGPrivateKey(EGPrivateKey) - Constructor for class part3.EGPrivateKey
A copy constructor for an ElGamal private key.
EGPublicKey - class part3.EGPublicKey.
A class to implement an ElGamal public key.
EGPublicKey(BigInteger, BigInteger, BigInteger) - Constructor for class part3.EGPublicKey
A constructor for an ElGamal public key (p,g,y).
EGPublicKey(EGPublicKey) - Constructor for class part3.EGPublicKey
A copy constructor for an ElGamal public key.
EGSignature - class part6.EGSignature.
A class used to represent an ElGamal signature.
EGSignature(BigInteger, BigInteger) - Constructor for class part6.EGSignature
 
EGSignatureKey - class part6.EGSignatureKey.
 
EGSignatureKey(BigInteger, BigInteger, BigInteger) - Constructor for class part6.EGSignatureKey
 
EGSignatureKey(EGPrivateKey) - Constructor for class part6.EGSignatureKey
 
EGVerificationKey - class part6.EGVerificationKey.
 
EGVerificationKey(BigInteger, BigInteger, BigInteger) - Constructor for class part6.EGVerificationKey
 
EGVerificationKey(EGPublicKey) - Constructor for class part6.EGVerificationKey
 
e - Static variable in class part6.RSAForge
 
ecrack(SimpleRSAPublicKey, AbstractList) - Static method in class part2.Utilities
A method to crack RSA given a public key key and ciphertext text.
efactors(BigInteger) - Static method in class part2.Utilities
A method to factorize a big integer n that is the product of two primes.
encrypt(String) - Method in class part2.PohligHellman
Encryption.
encrypt(BigInteger) - Method in interface part2.RSAPublicKey
A method to encrypt the big integer m using this public key.
encrypt(String) - Method in interface part2.RSAPublicKey
A method to encrypt the string s using this public key.
encrypt(BigInteger) - Method in class part2.SimpleRSAPublicKey
A method to encrypt the big integer m using this public key.
encrypt(String) - Method in class part2.SimpleRSAPublicKey
A method to encrypt the string s using this public key.
encrypt(BigInteger, SecureRandom) - Method in class part3.EGPublicKey
A method to encrypt the big integer m using this public key.
encrypt(String, SecureRandom) - Method in class part3.EGPublicKey
A method to encrypt the string s using this public key.
encrypt(ECPoint, SecureRandom) - Method in class part7.ECPublicKey
A method to encrypt the point m using this public key.
equal(Curve) - Method in class part7.Curve
A method to determine if this curve is equal to the curve c.
expm(BigInteger) - Method in class part2.ModRep
A method to perform exponentiation on modular representations.
expm(BigInteger, BigInteger, BigInteger) - Static method in class part2.Utilities
A method to compute the a to the power b modulo m.

F

Fermat - class part2.Fermat.
A class to implement Fermat's Primility Test.
Fermat(int, SecureRandom) - Constructor for class part2.Fermat
A constructor where t is the number of iterations for Fermat's Primality Test and rnd is a source of randomness.
factors(BigInteger) - Static method in class part2.Utilities
A method to factorize n.
findg(BigInteger, AbstractList) - Static method in class part3.Utilities
A method to find a generator for the group Zp* where p is a prime and factors are the prime factors of p-1.

G

Generic - class part5.Generic.
A class that implements a generic pseudo-random number/bit generator by using a SecureRandom object.
Generic() - Constructor for class part5.Generic
 
gcd(BigInteger, BigInteger) - Static method in class part2.Utilities
A method to determine the GCD of two positive big integers.
gcde(BigInteger, BigInteger) - Static method in class part2.Utilities
A method that implements the Extended Euclidean Algorithm.
generate(int, SecureRandom, PrimeTester) - Static method in class part2.Utilities
A method to generate a probable prime of length d bits where rnd is a source of randomness and tester is a primality tester.
getA() - Method in class part7.Curve
 
getB() - Method in class part7.Curve
 
getC1() - Method in class part7.MVCipherText
 
getC2() - Method in class part7.MVCipherText
 
getCurve() - Method in class part7.ECPoint
A method to return the curve on which this point is located.
getDelta() - Method in class part3.EGCipherText
 
getDelta() - Method in class part7.ECCipherText
 
getGamma() - Method in class part3.EGCipherText
 
getGamma() - Method in class part7.ECCipherText
 
getGamma() - Method in class part7.MVCipherText
 
getP() - Method in class part7.Curve
 
getPrivate() - Method in class part2.CRTRSAKeyGenerator
A method to return the private key of this RSA key-pair.
getPrivate() - Method in interface part2.RSAKeyPair
A method to return the private key of an RSA key-pair.
getPrivate() - Method in class part2.SimpleRSAKeyGenerator
A method to return the private key of this RSA key-pair.
getPrivate() - Method in class part3.EGKeyPair
A method to return the private key of an ElGamal key-pair.
getPrivate() - Method in class part7.ECKeyPair
A method to return the private key of an ElGamal key-pair.
getPublic() - Method in class part2.CRTRSAKeyGenerator
A method to return the public key of this RSA key-pair.
getPublic() - Method in interface part2.RSAKeyPair
A method to return the public key of an RSA key-pair.
getPublic() - Method in class part2.SimpleRSAKeyGenerator
A method to return the public key of this RSA key-pair.
getPublic() - Method in class part3.EGKeyPair
A method to return the public key of an ElGamal key-pair.
getPublic() - Method in class part7.ECKeyPair
A method to return the public key of an ElGamal key-pair.
getX() - Method in class part7.RealPoint
 
getX() - Method in class part7.Utilities.Point
 
getY() - Method in class part7.RealPoint
 
getY() - Method in class part7.Utilities.Point
 

H

HashFunction - interface part4.HashFunction.
An interface that defines the basic behaviour of a hash function object.
h(BigInteger, BigInteger) - Method in class part4.DLH
A method that implements the hash function h.
hash(String) - Method in class part4.DLH
A method that implements the function to hash a string to a big integer value.
hash(String) - Method in interface part4.HashFunction
A method to hash a string to a big integer value.

I

intToString(BigInteger) - Static method in class part1.Utilities
A method to convert a positive big integer created by stringToInt() into a string.
inverse() - Method in class part7.ECPoint
A method to return the inverse of this point.
inverse() - Method in class part7.PointAtInfinity
 
inverse() - Method in class part7.RealPoint
 
invm(BigInteger, BigInteger) - Static method in class part2.Utilities
A method to compute the inverse of a modulo m.
isGenerator(BigInteger, AbstractList, BigInteger) - Static method in class part3.Utilities
A method to determine if a is a generator for the group Zp* where p is a prime and factors are the prime factors of p-1.
isPrime(BigInteger) - Method in class part2.Fermat
A method to check the primility of the big integer x using Fermat's Primality Test.
isPrime(BigInteger) - Method in class part2.MR
A method to check the primility of the big integer x using the Miller-Rabin Primality Test.
isPrime(BigInteger) - Method in interface part2.PrimeTester
A method to check the primility of the big integer x using a specific primility test.

J

jacobi(BigInteger, BigInteger) - Static method in class part5.Utilities
A method to evaluate the Jacobi Symbol a/n.
jl(BigInteger, BigInteger) - Static method in class part5.Utilities
A method to evaluate the Legendre/Jacobi Symbols a/n using Algorithm 2.149 of The Handbook of Applied Cryptography.

L

legendre(BigInteger, BigInteger) - Static method in class part5.Utilities
A method to evaluate the Legendre Symbol a/p where p is an odd prime.
log(BigInteger, BigInteger, BigInteger) - Static method in class part3.Utilities
A method to return the discrete logarithm of b to the base a (logab) in Zp* where p is a prime and a is a generator of Zp*.
log(ECPoint) - Method in class part7.ECPoint
A method to compute the log of this point to the base b.
log(ECPoint) - Method in class part7.PointAtInfinity
 
log(ECPoint) - Method in class part7.RealPoint
 

M

MR - class part2.MR.
A class to implement the Miller-Rabin Primility Test.
MR(int, SecureRandom) - Constructor for class part2.MR
A constructor where t is the number of iterations for the Miller-Rabin Primality Test and rnd is a source of randomness.
MVCipherText - class part7.MVCipherText.
A class used to represent ciphertext prodcued by the Menezes-Vanstone Cryptosystem.
MVCipherText(ECPoint, BigInteger, BigInteger) - Constructor for class part7.MVCipherText
 
MVDecrypt(MVCipherText) - Method in class part7.ECPrivateKey
A method to decrypt the ciphertext c using this private key with Menezes-Vanstone.
MVEncrypt(BigInteger, BigInteger, SecureRandom) - Method in class part7.ECPublicKey
A method to encrypt the message (x1,x2) using this public key with Menezes-Vanstone.
ModRep - class part2.ModRep.
A class to implement modular representations of big integer values.
ModRep(BigInteger, BigInteger, BigInteger) - Constructor for class part2.ModRep
A constructor to create the modular representation of x for the moduli n1 and n2.
ModRep(BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class part2.ModRep
A constructor to create the modular representation using x1 and x2 for the moduli n1 and n2.
make1(int, BigInteger, BigInteger) - Static method in class part5.Utilities
A method to generate a random big integer value with m bits using a BBS Pseudo-Random Bit Generator.
make2(int, BigInteger, BigInteger, BigInteger) - Static method in class part5.Utilities
A method to recreate a random big integer with m bits produced by make1() given the primes p and q and the last value x (i.e., xm-1) of the internal sequence generated by the BBS Pseudo-Random Bit Generator.
modulus() - Method in class part2.CRTRSAPrivateKey
A method to return the modulus of this private RSA key.
modulus() - Method in class part2.SimpleRSAPrivateKey
A method to return the modulus of this private RSA key.
modulus() - Method in class part2.SimpleRSAPublicKey
A method to return the modulus of this public RSA key.
mult(ModRep) - Method in class part2.ModRep
A method to perform multiplication on modular representations.

N

n - Static variable in class part6.RSAForge
 
newCurve(BigInteger, SecureRandom) - Static method in class part7.Utilities
A method to generate a random elliptic curve over Zp and base point where p is a large prime.
nextBit() - Method in class part5.BBS_PRNG
A method to generate a single random bit as an integer value 0 or 1.
nextBit() - Method in class part5.DLH_PRNG
A method to generate a single random bit as an integer value 0 or 1.
nextBit() - Method in class part5.Generic
A method to generate a single random bit as an integer value 0 or 1.
nextBit() - Method in class part5.PRNG
A method to generate a single random bit as an integer value 0 or 1.
nextBit() - Method in class part5.RSA_PRNG
A method to generate a single random bit as an integer value 0 or 1.
nonResidues - Variable in class part5.Utilities.qResult
A set of quadratic nonresidues.

O

ok(BigInteger) - Method in interface part6.Redundancy
A method to test if the value x was produced by protect().
ok(BigInteger) - Method in class part6.SimpleRedundancy
 
ok(BigInteger) - Method in class part6.WeakRedundancy
 
ok(Curve) - Static method in class part7.Utilities
A method to deterime if an elliptic curve c satisfies the condition 4a3+27b3 # 0 (mod p).
ord() - Method in class part7.ECPoint
A method to compute the order of the curve of this pint.
order(BigInteger, AbstractList, BigInteger) - Static method in class part3.Utilities
A method to determine the order of a in the group Zp* where p is a prime and factors are the prime factors of p-1.
order() - Method in class part7.ECPoint
A method to return the order of this point.
order() - Method in class part7.PointAtInfinity
 
order() - Method in class part7.RealPoint
 

P

PRNG - class part5.PRNG.
An abstract class that defines the basic behaviour of pseudo-random number/bit generators.
PRNG() - Constructor for class part5.PRNG
 
PohligHellman - class part2.PohligHellman.
 
PohligHellman(BigInteger, BigInteger) - Constructor for class part2.PohligHellman
A constructor to initialize a Pohlig-Hellman cipher with odd prime p and exponent e.
PointAtInfinity - class part7.PointAtInfinity.
A class to represent the point at infinity.
PointAtInfinity(Curve) - Constructor for class part7.PointAtInfinity
 
PrimeTester - interface part2.PrimeTester.
An interface to support primility testers.
pair(SecureRandom, int) - Static method in class part3.Utilities
A method to return a safe prime p and a generator a for Zp* where d is the number of bits in p and rnd is a source of randomness.
part1 - package part1
 
part2 - package part2
 
part3 - package part3
 
part4 - package part4
 
part5 - package part5
 
part6 - package part6
 
part7 - package part7
 
phi(BigInteger) - Static method in class part2.Utilities
A method to compute the Euler phi Function.
points() - Method in class part7.ECPoint
A method to return all the points of the curve used by this point.
points(Curve) - Static method in class part7.Utilities
A method to compute the points on an elliptic curve c.
power(BigInteger) - Method in class part7.ECPoint
A method to raise this point to the power e.
power(BigInteger) - Method in class part7.PointAtInfinity
 
power(BigInteger) - Method in class part7.RealPoint
 
privateExponent() - Method in class part2.CRTRSAPrivateKey
A method to return the private exponent of this private RSA key.
privateExponent() - Method in class part2.SimpleRSAPrivateKey
A method to return the private exponent of this private RSA key.
protect(BigInteger) - Method in interface part6.Redundancy
A method to add redundancy to a big integer x.
protect(BigInteger) - Method in class part6.SimpleRedundancy
 
protect(BigInteger) - Method in class part6.WeakRedundancy
 
publicExponent() - Method in class part2.SimpleRSAPublicKey
A method to return the public exponent of this public RSA key.

Q

q(BigInteger) - Static method in class part5.Utilities
A method to compute quadratic residues and nonresidues for n.
qTest(BigInteger, BigInteger, AbstractSet) - Static method in class part5.Utilities
A method to determine if x in a quaratic residue (or nonresidue) modulo n where q is the set of quaratic residues (or nonresidues) restricted to Zn*.

R

RSAForge - class part6.RSAForge.
A class to forge some RSA signatures.
RSAForge(RSATester) - Constructor for class part6.RSAForge
A constructor to initialise an object and generate forged signatures.
RSAKeyPair - interface part2.RSAKeyPair.
An interface defining the methods required of an RSA key-pair.
RSAPrivateKey - interface part2.RSAPrivateKey.
An interface defining the methods required of an RSA private key.
RSAPrivateKeyWithAppendix - class part6.RSAPrivateKeyWithAppendix.
A class that implements an RSA private key that can be used for signature generation with a digital signature scheme with appendix.
RSAPrivateKeyWithAppendix(BigInteger, BigInteger) - Constructor for class part6.RSAPrivateKeyWithAppendix
 
RSAPrivateKeyWithAppendix(SimpleRSAPrivateKey) - Constructor for class part6.RSAPrivateKeyWithAppendix
 
RSAPrivateKeyWithRecovery - class part6.RSAPrivateKeyWithRecovery.
A class that implements an RSA private key that can be used for signature generation with a digital signature scheme with message recovery.
RSAPrivateKeyWithRecovery(BigInteger, BigInteger) - Constructor for class part6.RSAPrivateKeyWithRecovery
 
RSAPrivateKeyWithRecovery(SimpleRSAPrivateKey) - Constructor for class part6.RSAPrivateKeyWithRecovery
 
RSAPublicKey - interface part2.RSAPublicKey.
An interface defining the methods required of an RSA public key.
RSAPublicKeyWithAppendix - class part6.RSAPublicKeyWithAppendix.
A class that implements an RSA public key that can be used for signature verification with a digital signature scheme with appendix.
RSAPublicKeyWithAppendix(BigInteger, BigInteger) - Constructor for class part6.RSAPublicKeyWithAppendix
 
RSAPublicKeyWithAppendix(SimpleRSAPublicKey) - Constructor for class part6.RSAPublicKeyWithAppendix
 
RSAPublicKeyWithRecovery - class part6.RSAPublicKeyWithRecovery.
A class that implements an RSA public key that can be used for signature verification using a digital signature scheme with message recovery.
RSAPublicKeyWithRecovery(BigInteger, BigInteger) - Constructor for class part6.RSAPublicKeyWithRecovery
 
RSAPublicKeyWithRecovery(SimpleRSAPublicKey) - Constructor for class part6.RSAPublicKeyWithRecovery
 
RSATester - interface part6.RSATester.
An interface for classes to record and test RSA forgeries.
RSA_PRNG - class part5.RSA_PRNG.
A class that implements an RSA Pseudo-Random Bit Generator.
RSA_PRNG(BigInteger, BigInteger, BigInteger) - Constructor for class part5.RSA_PRNG
A constrcutor that takes a seed value seed and the values needed to instantiate an RSA Pseudo-Random Bit Generator.
RealPoint - class part7.RealPoint.
A class used to represent a real point (x,y) on an elliptic curve.
RealPoint(Curve, BigInteger, BigInteger) - Constructor for class part7.RealPoint
 
Redundancy - interface part6.Redundancy.
An interface that defines the basic behaviour of an object that can be used to add redundancy to a bit integer value.
r - Variable in class part6.EGSignature
 
random(BigInteger) - Method in class part5.PRNG
A method to generate a random integer in the range 0..m-1.
random(int) - Method in class part5.PRNG
A method to generate a random positive integer with b bits.
recover(BigInteger, Redundancy) - Method in class part6.RSAPublicKeyWithRecovery
A method to recover a value from a signature s using the redundancy object redundancy.
recover(BigInteger) - Method in interface part6.Redundancy
A method to recover a big integer value from a redundant value x produced by protect().
recover(BigInteger) - Method in class part6.SimpleRedundancy
 
recover(BigInteger) - Method in class part6.WeakRedundancy
 
residues - Variable in class part5.Utilities.qResult
A set of quadratic residues.
rt(BigInteger, BigInteger, BigInteger) - Static method in class part5.Utilities
A method to compute rtn(x) where n=p*q.

S

SimpleRSAKeyGenerator - class part2.SimpleRSAKeyGenerator.
 
SimpleRSAKeyGenerator(BigInteger, BigInteger, SecureRandom) - Constructor for class part2.SimpleRSAKeyGenerator
A constructor that generates an RSA key-pair using the primes p and q.
SimpleRSAPrivateKey - class part2.SimpleRSAPrivateKey.
A class that implements an RSA private key.
SimpleRSAPrivateKey(BigInteger, BigInteger) - Constructor for class part2.SimpleRSAPrivateKey
A constructor for an RSA private key with modulus n and private exponent d.
SimpleRSAPrivateKey(SimpleRSAPrivateKey) - Constructor for class part2.SimpleRSAPrivateKey
A copy constructor for an RSA private key.
SimpleRSAPublicKey - class part2.SimpleRSAPublicKey.
A class that implements an RSA public key.
SimpleRSAPublicKey(BigInteger, BigInteger) - Constructor for class part2.SimpleRSAPublicKey
A constructor for an RSA public key with modulus n and public exponent e.
SimpleRSAPublicKey(SimpleRSAPublicKey) - Constructor for class part2.SimpleRSAPublicKey
A copy constructor for an RSA public key.
SimpleRedundancy - class part6.SimpleRedundancy.
A redundancy class that adds k 1-bits to an m-bit integer.
SimpleRedundancy(int, int) - Constructor for class part6.SimpleRedundancy
Initialization parameters m and k.
s - Variable in class part6.EGSignature
 
s1 - Static variable in class part6.RSAForge
 
s2 - Static variable in class part6.RSAForge
 
s3 - Static variable in class part6.RSAForge
 
sRoot(BigInteger, BigInteger) - Static method in class part5.Utilities
A method to return the square roots of x modulo n.
sign(String, HashFunction, PRNG) - Method in class part6.EGSignatureKey
A method to sign a string str using the hash function hash and pseudo-random number generator prng.
sign(String, HashFunction) - Method in class part6.RSAPrivateKeyWithAppendix
A method to sign a string str using the hash function hash.
sign(BigInteger, Redundancy) - Method in class part6.RSAPrivateKeyWithRecovery
A method to sign a big integer x using the redundancy object redundancy.
split(BigInteger, BigInteger) - Static method in class part1.Utilities
A method to split a positive big integer x into a non-empty list of big integers representing the number to the base m.
sq(BigInteger, BigInteger) - Static method in class part5.Utilities
A method to compute sqn(x).
stringToInt(String) - Static method in class part1.Utilities
A method to convert a string into a positive big integer.

T

test(BigInteger, String) - Method in interface part6.RSATester
A forgery signature is recorded and tested by passing it to this method along with a description description of what type of forgery it is and how it was created.
toString() - Method in class part2.CRTRSAPrivateKey
A method to produce a string representation of this private RSA key.
toString() - Method in class part2.SimpleRSAPrivateKey
A method to produce a string representation of this private RSA key.
toString() - Method in class part2.SimpleRSAPublicKey
A method to produce a string representation of this public RSA key.
toString() - Method in class part3.EGCipherText
A method to produce a string representation of this cipher text.
toString() - Method in class part3.EGPrivateKey
A method to produce a string representation of this private EG key.
toString() - Method in class part3.EGPublicKey
A method to produce a string representation of this public EG key.
toString() - Method in class part6.EGSignature
A method to produce a string representation of this cipher text.
toString() - Method in class part7.Curve
 
toString() - Method in class part7.ECCipherText
A method to produce a string representation of this cipher text.
toString() - Method in class part7.ECPrivateKey
A method to produce a string representation of this private EG key.
toString() - Method in class part7.ECPublicKey
A method to produce a string representation of this public EG key.
toString() - Method in class part7.MVCipherText
A method to produce a string representation of this cipher text.
toString() - Method in class part7.PointAtInfinity
 
toString() - Method in class part7.RealPoint
 
toString() - Method in class part7.Utilities.Point
 

U

Utilities - class part1.Utilities.
 
Utilities - class part2.Utilities.
 
Utilities - class part3.Utilities.
 
Utilities - class part5.Utilities.
 
Utilities - class part7.Utilities.
 
Utilities.Point - class part7.Utilities.Point.
A class used to represent a point (x,y) on an elliptic curve.
Utilities.Point(BigInteger, BigInteger) - Constructor for class part7.Utilities.Point
 
Utilities.qResult - class part5.Utilities.qResult.
A class to hold the results from the q method.
Utilities.qResult(AbstractSet, AbstractSet) - Constructor for class part5.Utilities.qResult
 

V

value() - Method in class part2.ModRep
A method to return the big integer value represented by this object.
verify(EGSignature, String, HashFunction) - Method in class part6.EGVerificationKey
A method to validate the signature s of a string str using the hash function hash.
verify(BigInteger, String, HashFunction) - Method in class part6.RSAPublicKeyWithAppendix
A method to validate the signature s of a string str using the hash function hash.
verify(BigInteger, Redundancy) - Method in class part6.RSAPublicKeyWithRecovery
A method to validate a signature s using the redundancy object redundancy.

W

WeakRedundancy - class part6.WeakRedundancy.
A weak redundancy class.
WeakRedundancy() - Constructor for class part6.WeakRedundancy
 

_

_b - Variable in class part7.ECPrivateKey
 
_b - Variable in class part7.ECPublicKey
 
_c - Variable in class part7.ECPoint
 
_c - Variable in class part7.ECPrivateKey
 
_c - Variable in class part7.ECPublicKey
 
_g - Variable in class part3.EGPrivateKey
 
_g - Variable in class part3.EGPublicKey
 
_p - Variable in class part3.EGPrivateKey
 
_p - Variable in class part3.EGPublicKey
 
_p - Variable in class part7.ECPublicKey
 
_x - Variable in class part3.EGPrivateKey
 
_x - Variable in class part7.ECPrivateKey
 
_y - Variable in class part3.EGPublicKey
 

A B C D E F G H I J L M N O P Q R S T U V W _