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
- asciiToBin(byte).
Static method in class Crypt
-
- binToAscii(long).
Static method in class Crypt
-
- bitMask(long).
Static method in class Crypt
- Function to set a bit (0..23)
- byteMask.
Static variable in class Crypt
-
- Crypt().
Constructor for class Crypt
-
- crypt(byte[], byte[]).
Static method in class Crypt
- crypt function.
- crypt(byte[], String).
Static method in class Crypt
- crypt function
- crypt(String, String).
Static method in class Crypt
- crypt function.
- currentSalt.
Static variable in class Crypt
-
- currentSaltbits.
Static variable in class Crypt
-
- direction.
Static variable in class Crypt
-
- doPc1.
Static variable in class Crypt
- doPc1: perform pc1 permutation in the key schedule generation.
- doPc2.
Static variable in class Crypt
- doPc2: perform pc2 permutation in the key schedule generation.
- efp.
Static variable in class Crypt
- efp: undo an extra e selection and do final
permutation gibing the DES result.
- eInverse.
Static variable in class Crypt
-
- ePerm32Tab.
Static variable in class Crypt
- Do 32 but permutation and E selection
The first index is the byte number in the 32 bit value to be permuted
- second - is the value of this byte
- third - selects the two 32 bit value
The table is used and generated internally in initDes() to speed it up.
- esel.
Static variable in class Crypt
- The E expansion table wich selects
bits from the 32 bit intermediate result.
- finalPerm.
Static variable in class Crypt
- This is final permutation matrix.
- initDes().
Static method in class Crypt
- Initialze unit - may be invoked directly by user.
- inited.
Static variable in class Crypt
-
- initialPerm.
Static variable in class Crypt
- This is the initial permutation matrix
- lock.
Static variable in class Crypt
-
- longMask.
Static variable in class Crypt
-
- outputConversion(int, int, byte[]).
Static method in class Crypt
-
Crypt only: convert from 64 bit to 11 bit ASCII
- pc1.
Static variable in class Crypt
- Permutation done once on the 56 bit
key derived from the original 8 byte ASCII key.
- pc1_1.
Static variable in class Crypt
-
- pc1_2.
Static variable in class Crypt
-
- pc1_3.
Static variable in class Crypt
-
- pc2.
Static variable in class Crypt
- Permutation giving the key of the i' DES round.
- pc2_1.
Static variable in class Crypt
-
- pc2_2.
Static variable in class Crypt
-
- perm32.
Static variable in class Crypt
- Permutation done on the result of sbox lookups.
- rots.
Static variable in class Crypt
- How much to rotate each 28 bit half of the pc1 permutated
56 bit key before using pc2 to give i' key.
- sb.
Static variable in class Crypt
- sb arrays:
Workhorses of the inner loop of the DES implementation.
- sba(long[], long).
Static method in class Crypt
-
- sbox.
Static variable in class Crypt
- The sboxes.
- selfTest(boolean).
Static method in class Crypt
- This method test crypt.
- setupSalt(byte[]).
Static method in class Crypt
- Setup the unit for a new salt.
- shuffleSb(long[], int).
Static method in class Crypt
- Process the elements of the sb table permuting the
bits swapped in the expansion by the current salt.
- sLookup(int, int).
Static method in class Crypt
- Lookup a 6 bit value in sbox
- ufcDoFinalPerm(int, int, int, int).
Static method in class Crypt
- Undo an extra E selection and do final permutations.
- ufcDoit(int, int, int, int, int).
Static method in class Crypt
-
- ufcKeytab.
Static variable in class Crypt
- The 16 DES keys in BITMASK format
- ufcMkKeytab(byte[]).
Static method in class Crypt
-