mcrypt

Source: Wikipedia, the free encyclopedia.

mcrypt is a replacement for the popular

libressl, and others.[3]

Examples of mcrypt usage in a Linux command-line environment:

 mcrypt --list                           # See available encryption algorithms.           
 mcrypt -a blowfish myfilename           # Encrypts myfilename to myfilename.nc           
                                         # using the Blowfish encryption algorithm.       
                                         # You are prompted two times for a passphrase.   
 mcrypt -d mytextfile.txt.nc             # Decrypts mytextfile.txt.nc to mytextfile.txt.  
 mcrypt -V -d -a enigma -o scrypt --bare # Can en/decrypt files crypted with SunOS crypt. 
 mcrypt --help

It implements numerous cryptographic algorithms, mostly block ciphers and stream ciphers, some of which fall under export restrictions in the United States. Algorithms include DES, Blowfish, ARCFOUR, Enigma, GOST, LOKI97, RC2, Serpent, Threeway, Twofish, WAKE, and XTEA.

See also

References

  1. ^ "Libmcrypt releases".
  2. ^ "Libmcrypt patches".
  3. ^ Paragon Initiative Enterprises. "If You're Typing the Word MCRYPT Into Your PHP Code, You're Doing It Wrong".

External links


This page is based on the copyrighted Wikipedia article: Mcrypt. Articles is available under the CC BY-SA 3.0 license; additional terms may apply.Privacy Policy