AES256public interface BlockCipher
Created by sergeych on 04/06/16.
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
BlockCipher.Direction |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getBlockSize() |
|
int |
getKeySize() |
|
java.lang.String |
getTag() |
Encryption method tag, AES256 for AES 256 (Rijndael 256/128) and so on
|
void |
initialize(BlockCipher.Direction direction,
SymmetricKey key) |
|
byte[] |
transformBlock(byte[] block) |
Encrypt/decrypt source block and return processed block
|
int getBlockSize()
int getKeySize()
java.lang.String getTag()
void initialize(BlockCipher.Direction direction, SymmetricKey key)
byte[] transformBlock(byte[] block)
throws EncryptionError
block - source blockEncryptionError - if key or block has wrong size