Context for an AES counter. More...
Public Member Functions | |
| AesCounterContext (DataBuffer key) | |
| Initializes a new instance of the AesCounterContext class with default parameters (block size of cryptographic operation = 128 bits, mode of operation = ECB, no padding) More... | |
| void | clear () |
| boolean | generateKeystream (DataBuffer output, int length, byte[] counter) |
Context for an AES counter.
| fm.liveswitch.AesCounterContext.AesCounterContext | ( | DataBuffer | key | ) |
Initializes a new instance of the AesCounterContext class with default parameters (block size of cryptographic operation = 128 bits, mode of operation = ECB, no padding)
| key | The secret key for the symmetric algorithm. |
| void fm.liveswitch.AesCounterContext.clear | ( | ) |
| boolean fm.liveswitch.AesCounterContext.generateKeystream | ( | DataBuffer | output, |
| int | length, | ||
| byte[] | counter | ||
| ) |