public interface BlockCipherAdapter extends CipherAdapter
| Modifier and Type | Method and Description |
|---|---|
int |
doFinal(byte[] out,
int outOff)
Finish the encryption/decryption operation (e.g. apply padding).
|
int |
getOutputSize(int len)
Gets the size of the output buffer required to hold the output of an input buffer of the given size.
|
init, processBytes, resetint getOutputSize(int len)
len - Length of input buffer.int doFinal(byte[] out,
int outOff)
throws CryptoException
out - Output buffer to receive final processing output.outOff - Offset into output buffer where processed data should start.CryptoException - on underlying cipher finalization errors.Copyright © 2003-2024 Virginia Tech. All Rights Reserved.