DES_BLOCK_SIZE
.
DESConstants
, DESCipher
Modifier and Type | Field and Description |
---|---|
pack-priv boolean | |
pack-priv byte[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] | |
private static final int[] |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv void | |
pack-priv void | decryptBlock(byte[]
the buffer with the input data to be decrypted cipher, int the offset in cipherOffset, byte[] cipherOffset the buffer for the result plain, int the offset in plainOffset)plain Implements abstract com. |
pack-priv void | encryptBlock(byte[]
the buffer with the input data to be encrypted plain, int the offset in plainOffset, byte[] plain the buffer for the result cipher, int the offset in cipherOffset)cipher Implements abstract com. |
pack-priv void | |
pack-priv int | Returns: this cipher's block sizeImplements abstract com. |
pack-priv void | init(boolean
flag indicating encryption or decryption decrypting, String the algorithm name algorithm, byte[] the key rawKey)Implements abstract com. |
private static int | |
private static int | |
private static void |
decrypting | back to summary |
---|---|
pack-priv boolean decrypting |
expandedKey | back to summary |
---|---|
pack-priv byte[] expandedKey |
initPermLeft0 | back to summary |
---|---|
private static final int[] initPermLeft0 |
initPermLeft1 | back to summary |
---|---|
private static final int[] initPermLeft1 |
initPermLeft2 | back to summary |
---|---|
private static final int[] initPermLeft2 |
initPermLeft3 | back to summary |
---|---|
private static final int[] initPermLeft3 |
initPermLeft4 | back to summary |
---|---|
private static final int[] initPermLeft4 |
initPermLeft5 | back to summary |
---|---|
private static final int[] initPermLeft5 |
initPermLeft6 | back to summary |
---|---|
private static final int[] initPermLeft6 |
initPermLeft7 | back to summary |
---|---|
private static final int[] initPermLeft7 |
initPermLeft8 | back to summary |
---|---|
private static final int[] initPermLeft8 |
initPermLeft9 | back to summary |
---|---|
private static final int[] initPermLeft9 |
initPermLeftA | back to summary |
---|---|
private static final int[] initPermLeftA |
initPermLeftB | back to summary |
---|---|
private static final int[] initPermLeftB |
initPermLeftC | back to summary |
---|---|
private static final int[] initPermLeftC |
initPermLeftD | back to summary |
---|---|
private static final int[] initPermLeftD |
initPermLeftE | back to summary |
---|---|
private static final int[] initPermLeftE |
initPermLeftF | back to summary |
---|---|
private static final int[] initPermLeftF |
initPermRight0 | back to summary |
---|---|
private static final int[] initPermRight0 |
initPermRight1 | back to summary |
---|---|
private static final int[] initPermRight1 |
initPermRight2 | back to summary |
---|---|
private static final int[] initPermRight2 |
initPermRight3 | back to summary |
---|---|
private static final int[] initPermRight3 |
initPermRight4 | back to summary |
---|---|
private static final int[] initPermRight4 |
initPermRight5 | back to summary |
---|---|
private static final int[] initPermRight5 |
initPermRight6 | back to summary |
---|---|
private static final int[] initPermRight6 |
initPermRight7 | back to summary |
---|---|
private static final int[] initPermRight7 |
initPermRight8 | back to summary |
---|---|
private static final int[] initPermRight8 |
initPermRight9 | back to summary |
---|---|
private static final int[] initPermRight9 |
initPermRightA | back to summary |
---|---|
private static final int[] initPermRightA |
initPermRightB | back to summary |
---|---|
private static final int[] initPermRightB |
initPermRightC | back to summary |
---|---|
private static final int[] initPermRightC |
initPermRightD | back to summary |
---|---|
private static final int[] initPermRightD |
initPermRightE | back to summary |
---|---|
private static final int[] initPermRightE |
initPermRightF | back to summary |
---|---|
private static final int[] initPermRightF |
permLeft1 | back to summary |
---|---|
private static final int[] permLeft1 |
permLeft3 | back to summary |
---|---|
private static final int[] permLeft3 |
permLeft5 | back to summary |
---|---|
private static final int[] permLeft5 |
permLeft7 | back to summary |
---|---|
private static final int[] permLeft7 |
permLeft9 | back to summary |
---|---|
private static final int[] permLeft9 |
permLeftB | back to summary |
---|---|
private static final int[] permLeftB |
permLeftD | back to summary |
---|---|
private static final int[] permLeftD |
permLeftF | back to summary |
---|---|
private static final int[] permLeftF |
permRight0 | back to summary |
---|---|
private static final int[] permRight0 |
permRight2 | back to summary |
---|---|
private static final int[] permRight2 |
permRight4 | back to summary |
---|---|
private static final int[] permRight4 |
permRight6 | back to summary |
---|---|
private static final int[] permRight6 |
permRight8 | back to summary |
---|---|
private static final int[] permRight8 |
permRightA | back to summary |
---|---|
private static final int[] permRightA |
permRightC | back to summary |
---|---|
private static final int[] permRightC |
permRightE | back to summary |
---|---|
private static final int[] permRightE |
s0p | back to summary |
---|---|
private static final int[] s0p |
s1p | back to summary |
---|---|
private static final int[] s1p |
s2p | back to summary |
---|---|
private static final int[] s2p |
s3p | back to summary |
---|---|
private static final int[] s3p |
s4p | back to summary |
---|---|
private static final int[] s4p |
s5p | back to summary |
---|---|
private static final int[] s5p |
s6p | back to summary |
---|---|
private static final int[] s6p |
s7p | back to summary |
---|---|
private static final int[] s7p |
DESCrypt | back to summary |
---|---|
pack-priv DESCrypt() |
cipherBlock | back to summary |
---|---|
pack-priv void cipherBlock(byte[] in, int inOffset, byte[] out, int outOffset) |
decryptBlock | back to summary |
---|---|
pack-priv void decryptBlock(byte[] cipher, int cipherOffset, byte[] plain, int plainOffset) Implements abstract com. Performs decryption operation. The input cipher text The subclass that implements Cipher should ensure that
|
encryptBlock | back to summary |
---|---|
pack-priv void encryptBlock(byte[] plain, int plainOffset, byte[] cipher, int cipherOffset) Implements abstract com. Performs encryption operation. The input plain text The subclass that implements Cipher should ensure that
|
expandKey | back to summary |
---|---|
pack-priv void expandKey(byte[] key) |
getBlockSize | back to summary |
---|---|
pack-priv int getBlockSize() Implements abstract com. Returns this cipher's block size.
|
init | back to summary |
---|---|
pack-priv void init(boolean decrypting, String algorithm, byte[] rawKey) throws InvalidKeyException Implements abstract com. Doc from com. Initializes the cipher in the specified mode with the given key.
|
initialPermutationLeft | back to summary |
---|---|
private static int initialPermutationLeft(byte[] block, int offset) |
initialPermutationRight | back to summary |
---|---|
private static int initialPermutationRight(byte[] block, int offset) |
perm | back to summary |
---|---|
private static void perm(int left, int right, byte[] out, int offset) |