nn::crypto::BlockCipher

nn::crypto::BlockCipher Class

Syntax

class BlockCipher

Description

Base class for classes that implement block ciphers.

You should not use the Encrypt or Decrypt functions in this class unless you know enough about encryption and have a firm understanding of what you are doing.

This class contains pure virtual functions and so cannot be instantiated. Use instances of derived classes such as Aes instead.

Member Functions

PV GetBlockSize Gets the block size.
PV GetKeySize Gets the key size.
PV SetKey Sets the key.
PV Encrypt Encrypts.
PV Decrypt Decrypts.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL