#include <modes.h>
Inheritance diagram for CounterMode:

Public Methods | |
| CounterMode (const BlockTransformation &cipher,const byte *IV) | |
| byte | GenerateByte () |
| generate new random byte and return it. More... | |
| byte | ProcessByte (byte input) |
| encrypt or decrypt one byte. More... | |
| void | ProcessString (byte *outString,const byte *inString,unsigned int length) |
| encrypt or decrypt an array of bytes of specified length, may assume inString != outString. More... | |
| void | ProcessString (byte *inoutString,unsigned int length) |
| encrypt or decrypt an array of bytes of specified length in place. More... | |
| void | Seek (unsigned long position) |
Definition at line 97 of file modes.h.
|
|
|
|
|
generate new random byte and return it.
Reimplemented from RandomNumberGenerator. |
|
|
encrypt or decrypt one byte.
Reimplemented from StreamCipher. |
|
|
encrypt or decrypt an array of bytes of specified length in place.
Reimplemented from StreamCipher. |
|
|
encrypt or decrypt an array of bytes of specified length, may assume inString != outString.
Reimplemented from StreamCipher. |
|
|
Reimplemented from RandomAccessStreamCipher. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000