27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# libmcrypt
|
|
|
|
Mcrypt, and the accompanying libmcrypt, are intended to be replacements for the old Unix crypt, except that they are under the GPL and support an ever-wider range of algorithms and modes.
|
|
Unlike most encryption libraries libmcrypt does not have everything (random number generators, hashes, hmac implementation, key exchange, public key encryption etc.).
|
|
Libmcrypt only implements an interface to access block and stream encryption algorithms.
|
|
It's purpose was to assist in the development of mcrypt by providing a uniform interface to access several different encryption algorithms, so that the main program is independent of the encryption algorithms and the modes used.
|
|
|
|
Libmcrypt supports the algorithms:
|
|
* BLOWFISH
|
|
* TWOFISH
|
|
* DES, TripleDES
|
|
* 3-WAY
|
|
* SAFER-sk64, SAFER-sk128, SAFER+
|
|
* LOKI97
|
|
* GOST
|
|
* RC2, RC6
|
|
* MARS
|
|
* IDEA
|
|
* RIJNDAEL-128 (AES), RIJNDAEL-192, RIJNDAEL-256
|
|
* SERPENT
|
|
* CAST-128 (known as CAST5), CAST-256
|
|
* ARCFOUR
|
|
* WAKE
|
|
Block algorithms can be used in: CBC, ECB, CFB and OFB (8 bit and n bit, where
|
|
n is the size of the algorithm's block length).
|
|
|