This abstract class defines an encryption/decryption algortihm.
![]() | key Key for the encryption/decryption. |
![]() | blockSize Size of each encryption block in bytes |
![]() | chainMode Mode for sequential encryption each block |
![]() | PCypher ( PINDEX blockSize, BlockChainMode chainMode ) Create a new encryption object instance. |
![]() | Initialise ( BOOL encoding ) Initialise the encoding/decoding sequence. |
![]() | EncodeBlock ( const void * in, void * out ) Encode an n bit block of memory according to the encryption algorithm. |
![]() | DecodeBlock ( const void * in, void * out ) Dencode an n bit block of memory according to the encryption algorithm. |
Run Time Type functions
Comparison functions
I/O functions
Miscellaneous functions
This abstract class defines an encryption/decryption algortihm. A specific algorithm is implemented in a descendent class.
virtual void Initialise( BOOL encoding )
virtual void EncodeBlock( const void * in, void * out )
out - Pointer to coded n bit block.virtual void DecodeBlock( const void * in, void * out )
out - Pointer to clear n bit block.PBYTEArray key
PINDEX blockSize
BlockChainMode chainMode
Alphabetic index HTML hierarchy of classes or Java