AES_Crypt, DESCrypt, DESedeCrypt, BlowfishCrypt, FeedbackCipher
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract void | decryptBlock(byte[]
the input buffer with the data to be decrypted cipher, int the offset in cipherOffset, byte[] cipherthe buffer for the decryption result plain, int the offset in plainOffset)plainDecrypt one cipher block. |
| pack-priv abstract void | encryptBlock(byte[]
the input buffer with the data to be encrypted plain, int the offset in plainOffset, byte[] plainthe buffer for the encryption result cipher, int the offset in cipherOffset)cipherEncrypt one cipher block. |
| pack-priv abstract int | |
| pack-priv abstract void |
| SymmetricCipher | back to summary |
|---|---|
| pack-priv SymmetricCipher() | |
| decryptBlock | back to summary |
|---|---|
| pack-priv abstract void decryptBlock(byte[] cipher, int cipherOffset, byte[] plain, int plainOffset) Decrypt one cipher block. The input
| |
| encryptBlock | back to summary |
|---|---|
| pack-priv abstract void encryptBlock(byte[] plain, int plainOffset, byte[] cipher, int cipherOffset) Encrypt one cipher block. The input
| |
| getBlockSize | back to summary |
|---|---|
| pack-priv abstract int getBlockSize() Retrieves this cipher's block size.
| |
| init | back to summary |
|---|---|
| pack-priv abstract void init(boolean decrypting, String algorithm, byte[] key) throws InvalidKeyException Initializes the cipher in the specified mode with the given key.
| |