Enum class cipher

#include <tkcrypt/common.h>

Namespace: keychain

Description

cipher enumerates the various ciphers used within Keychain for the symmetric message encryption keys.

In Keychain, messages are first encrypted using a symmetric key with one of the ciphers in this enumeration. The key is then encrypted for each recipient using asymmetric encryption (i.e. according to their public key) and included in the ciphertext.

Values are self-explanatory.

Since: v2.0

Enum Class Summary

Enum Constant Description

aes_gcm_128

AES Galois/Counter Mode (128 bits)

aes_gcm_192

AES Galois/Counter Mode (192 bits)

aes_gcm_256

AES Galois/Counter Mode (256 bits)

camellia_gcm_128

Camellia GCM (128 bits)

camellia_gcm_192

Camellia GCM (192 bits)

camellia_gcm_256

Camellia GCM (256 bits)