[ << ]  [ < ]  [ Up ]  [ > ]  [ >> ]  [Top]  [Contents]  [Index]  [ ? ] 
5.1 Available ciphers
GCRY_CIPHER_NONE
This is not a real algorithm but used by some functions as error return. The value always evaluates to false.
GCRY_CIPHER_IDEA

This is the IDEA algorithm.
GCRY_CIPHER_3DES

TripleDES with 3 Keys as EDE. The key size of this algorithm is 168 but you have to pass 192 bits because the most significant bits of each byte are ignored.
GCRY_CIPHER_CAST5

CAST1285 block cipher algorithm. The key size is 128 bits.
GCRY_CIPHER_BLOWFISH

The blowfish algorithm. The current implementation allows only for a key size of 128 bits.
GCRY_CIPHER_SAFER_SK128
Reserved and not currently implemented.
GCRY_CIPHER_DES_SK
Reserved and not currently implemented.
GCRY_CIPHER_AES
GCRY_CIPHER_AES128
GCRY_CIPHER_RIJNDAEL
GCRY_CIPHER_RIJNDAEL128

AES (Rijndael) with a 128 bit key.
GCRY_CIPHER_AES192
GCRY_CIPHER_RIJNDAEL192
AES (Rijndael) with a 192 bit key.
GCRY_CIPHER_AES256
GCRY_CIPHER_RIJNDAEL256
AES (Rijndael) with a 256 bit key.
GCRY_CIPHER_TWOFISH

The Twofish algorithm with a 256 bit key.
GCRY_CIPHER_TWOFISH128
The Twofish algorithm with a 128 bit key.
GCRY_CIPHER_ARCFOUR

An algorithm which is 100% compatible with RSA Inc.’s RC4 algorithm. Note that this is a stream cipher and must be used very carefully to avoid a couple of weaknesses.
GCRY_CIPHER_DES

Standard DES with a 56 bit key. You need to pass 64 bit but the high bits of each byte are ignored. Note, that this is a weak algorithm which can be broken in reasonable time using a brute force approach.
GCRY_CIPHER_SERPENT128
GCRY_CIPHER_SERPENT192
GCRY_CIPHER_SERPENT256

The Serpent cipher from the AES contest.
GCRY_CIPHER_RFC2268_40
GCRY_CIPHER_RFC2268_128

Ron’s Cipher 2 in the 40 and 128 bit variants.
GCRY_CIPHER_SEED

A 128 bit cipher as described by RFC4269.
GCRY_CIPHER_CAMELLIA128
GCRY_CIPHER_CAMELLIA192
GCRY_CIPHER_CAMELLIA256

The Camellia cipher by NTT. See http://info.isl.ntt.co.jp/crypt/eng/camellia/specifications.html.
GCRY_CIPHER_SALSA20

This is the Salsa20 stream cipher.
GCRY_CIPHER_SALSA20R12

This is the Salsa20/12  reduced round version of Salsa20 stream cipher.
GCRY_CIPHER_GOST28147

The GOST 2814789 cipher, defined in the respective GOST standard. Translation of this GOST into English is provided in the RFC5830.
[ << ]  [ < ]  [ Up ]  [ > ]  [ >> ]  [Top]  [Contents]  [Index]  [ ? ] 
This document was generated on February 9, 2014 using texi2html 5.0.