public class AesBC extends Aes
BLOCK_SIZE, BLOCK_SIZE_IN_BYTES, KEY_SIZE, KEY_SIZE_IN_BYTES| Constructor and Description |
|---|
AesBC(byte[] key)
Creates a new instance.
|
public AesBC(byte[] key)
key - encryption keypublic byte[] encrypt(byte[] iv,
byte[] decrypted)
Aesdecrypted. Any implementation/provider specific
exception will thrown as wrapped in a RuntimeException.public byte[] decrypt(byte[] iv,
byte[] encrypted)
Aesencrypted. Any implementation/provider specific
exception will be thrown as wrapped in a RuntimeException.Copyright © 2011-2013. All Rights Reserved.