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

Classes

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

Enumerations

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

Enumerator
kAes256Cbc 
kNone 

Definition at line 28 of file encrypt.h.