CppCMS
Classes
cppcms::crypto Namespace Reference

This namespace holds basic cryptographic utilities useful for save interaction with user. More...

Classes

class  key
 Key object, holds the string that represents the binary key. More...
class  message_digest
 this class provides an API to calculate various cryptographic hash functions More...
class  hmac
 This object calculates the HMAC signature for the input data. More...
class  cbc
 Cipher-block chaining encryption and decryption cryptographic service. More...

Detailed Description

This namespace holds basic cryptographic utilities useful for save interaction with user.

One of the limitations of these functions is the fact that they do not use so called cryptographic memory, however it is not required as all secret keys are stored as plain text in configuration files, The only protection that is given is that values of keys are erased when the object is deleted to prevent key-leaks due to use of uninitialized memory in user applications.