Serialized Form
Package cryptix.provider.elgamal |
x
java.math.BigInteger x
g
java.math.BigInteger g
p
java.math.BigInteger p
y
java.math.BigInteger y
Package cryptix.provider.key |
algorithm
java.lang.String algorithm
data
byte[] data
Package cryptix.provider.rsa |
d
java.math.BigInteger d
- Private encryption exponent. Traditionally referred to as d.
n
java.math.BigInteger n
- Public decryption modulus. It is the product of the two p
and q factors.
p
java.math.BigInteger p
- The first factor of the public modulus n traditionally
referred to as p.
q
java.math.BigInteger q
- The second factor of the public modulus n traditionally
referred to as q.
u
java.math.BigInteger u
- The result of q^-1 (mod p), called the 'multiplicative
inverse' and traditionally referred to as u. This is used in
modular exponentiation operations using the Chinese Remainder
Theorem (CRT).
e
java.math.BigInteger e
- Public exponent.
n
java.math.BigInteger n
- Public modulus. It is the product of the two p and q
factors but for a public key we usually do not have access to them.
Package cryptix.util.checksum |
Package cryptix.util.math |
bits
byte[] bits
size
int size
K
int K
- Degree (power) of the mid-tap connection.
L
int L
- Number of stages/delay elements in this LFSR which is also
the degree of the connection trinomial.
slice
int slice
- Clocking is the process of computing the new feedback bit from
the output one and feeding it back to the end of the register.
On a bit by bit basis, this looks like so:
out = getBit(L-1);
in = out ^ getBit(L-K-1);
shiftLeft(1);
if (in == 1) setBit(0);
It is clear from the above that better efficiency and speed
can be achieved if we can process a larger chunck of bits at
a time than just one bit.
This variable is here for exactly this purpose. It tells us
how many bits we can alter with maximum efficiency. It is
computed at instantiation time as the min(64, K, L-K).
warpFactor
int warpFactor
Package cryptix.util.test |
commandLine
boolean commandLine
- true if the program was run from the command line.
errors
int errors
- The number of errors so far.
expectedPasses
int expectedPasses
- The number of expected passes.
failures
int failures
- The number of failures so far.
gui
TestGUI gui
- The GUI implementation (in a separate class to avoid creating unwanted
dependencies in this one).
name
java.lang.String name
- The name of this test.
out
java.io.PrintWriter out
- The PrintWriter to which delayed output is sent.
overallPass
boolean overallPass
- true if there is an overall pass.
passes
int passes
- The number of passes so far.
skipped
int skipped
- The number of skipped tests so far.
status
java.io.PrintWriter status
- The PrintWriter to which immediate output is sent.
sw
java.io.StringWriter sw
- A StringWriter that collects delayed output.
verbose
boolean verbose
- true if output is to be printed even if all tests pass.
errorcode
int errorcode
allowExit
boolean allowExit
frame
java.awt.Frame frame
output
java.io.PrintWriter output
owner
BaseTest owner
textArea
java.awt.TextArea textArea
Package netscape.security |
blockSize
int blockSize
- Deprecated. Use getBlockSize().
- The block size of the cipher.
dataSize
int dataSize
- Deprecated. Use getDataSize().
- The size of the data passed to the cipher.
Copyright (C) 1995-2000 The Cryptix Foundation Ltd. All rights reserved.