enum P6R::P6CRYPTOCIPHER |
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
Definition at line 112 of file p6crypto.h.