Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Cipher Type.

These are the supported ciphers that can be used to encrypt and decrypt data. The key size is part of key generation and key loading.

CBC = Cipher Block Chaining

CFB = Cipher Feedback

CTR = Counter Mode, only available in AES

ECB = Electonic Codebook

OFB = Output Feedback

Reference: http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation

CIPHER_AES_XXX - Advanced Encryption Standard, supports 128, 192, 256 bit keys (e.g., CIPHER_AES_CTR for counter mode)

CIPHER_BF_XXX - Blowfish, variable key length up to 448 bits

CIPHER_CAST_XXX - CAST5, variable length keys between 40 and 128 bits, keys must be a multiple of 8 bits in length

CIPHER_DES_XXX - DES best used only to support legacy systems, has a fixed key size of 64 bits

CIPHER_DES3_XXX - Triple DES, has a fixed key size of 192 bits

CIPHER_DESX_CBC - DESX only comes in cbc mode, http://en.wikipedia.org/wiki/DES-X

CIPHER_RC2_XXX - RSA's RC2, supports variable length keys up to 128 bits

CIPHER_RC4 - RSA's RC4 which is a stream cipher

CIPHER_RC5_XXX - RSA's RC5, supports variable length keys up to 2040 bits

CIPHER_EC - Public / Private cryptography based on Eliptic Curves

CIPHER_ECDSA - is a varient of the Digital Signature Algorithm (DSA) which uses Eliptic Curve Cryptography

CIPHER_ECDH - is a variant of the Diffie-Hellman protocol using Eliptic Curve Cryptography

CIPHER_ECMQV - is a varient of the Diffie-Hellman protocol using Eliptic Curve Cryptography with an arbitrary finite group

CIPHER_IDEA_XXX - IDEA, supports variable length keys up to 128 bits

Enumerator
CIPHER_AES_CBC 
CIPHER_AES_CFB 
CIPHER_AES_CTR 
CIPHER_AES_ECB 
CIPHER_AES_OFB 
CIPHER_BF_CBC 
CIPHER_BF_CFB 
CIPHER_BF_ECB 
CIPHER_BF_OFB 
CIPHER_CAST_CBC 
CIPHER_CAST_CFB 
CIPHER_CAST_ECB 
CIPHER_CAST_OFB 
CIPHER_DES_CBC 
CIPHER_DES_CFB 
CIPHER_DES_ECB 
CIPHER_DES_OFB 
CIPHER_DES3_CBC 
CIPHER_DES3_CFB 
CIPHER_DES3_ECB 
CIPHER_DES3_OFB 
CIPHER_DESX_CBC 
CIPHER_RC2_CBC 
CIPHER_RC2_CFB 
CIPHER_RC2_ECB 
CIPHER_RC2_OFB 
CIPHER_RC4 
CIPHER_RC5_CBC 
CIPHER_RC5_CFB 
CIPHER_RC5_ECB 
CIPHER_RC5_OFB 
CIPHER_EC 
CIPHER_ECDSA 
CIPHER_ECDH 
CIPHER_ECMQV 
CIPHER_IDEA_CBC 
CIPHER_IDEA_CFB 
CIPHER_IDEA_ECB 
CIPHER_IDEA_OFB 
CIPHER_MAX 

Definition at line 112 of file p6crypto.h.