| java.lang.Object org.bouncycastle.crypto.modes.EAXBlockCipher
EAXBlockCipher | public class EAXBlockCipher implements AEADBlockCipher(Code) | | A Two-Pass Authenticated-Encryption Scheme Optimized for Simplicity and
Efficiency - by M. Bellare, P. Rogaway, D. Wagner.
http://www.cs.ucdavis.edu/~rogaway/papers/eax.pdf
EAX is an AEAD scheme based on CTR and OMAC1/CMAC, that uses a single block
cipher to encrypt and authenticate data. It's on-line (the length of a
message isn't needed to begin processing it), has good performances, it's
simple and provably secure (provided the underlying block cipher is secure).
Of course, this implementations is NOT thread-safe.
|
EAXBlockCipher | public EAXBlockCipher(BlockCipher cipher)(Code) | | Constructor that accepts an instance of a block cipher engine.
Parameters: cipher - the engine to use |
getBlockSize | public int getBlockSize()(Code) | | |
getMac | public byte[] getMac()(Code) | | |
getOutputSize | public int getOutputSize(int len)(Code) | | |
getUpdateOutputSize | public int getUpdateOutputSize(int len)(Code) | | |
reset | public void reset()(Code) | | |
|
|