CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cipher Namespace Reference


class  Key
class  AbstractKeyDatabase
class  MemoryKeyDatabase
class  Cipher
class  CipherAes256Cbc
class  CipherNone


enum  Algorithms { kAes256Cbc = 0, kNone }

Detailed Description

This file is part of the CernVM File System

Symmetric encryption/decryption of small pieces of text. Plain text and cipher text are stored in std::string. Uses cbc mode, there is no inherent integrity check. The cipher text should only be used in a data structure that is itself protected by a digital signature, HMAC, or similar.

The initialization vector is transferred together with the cipher text. It is constructed from the HMAC of the key and nonce.

Enumeration Type Documentation


Definition at line 27 of file encrypt.h.