The companion to MCrypt is Libmcrypt, which contains the actual encryption functions themselves, and provides a standardized mechanism for accessing them.
Installation:
Go to Yast -- Software Management and search for "mycrypt" and select the pacakage and install it using yast
Examples of mcrypt usage in a linux command line environment:
See available encryption algorithms
mcrypt --list
Encrypts myfilename to myfilename.nc using blowfish encryption algorithm, you are prompted 2x for passphrase
mcrypt -a blowfish myfilename
Decrypts mytextfile.txt.nc to mytextfile.txt
mcrypt -d mytextfile.txt.nc
For Other options
mcrypt --help
It implements numerous cryptographic algorithms, mostly block ciphers and stream ciphers, some of which falls under export restrictions in the United States. Algorithms include des, blowfish, arcfour, enigma, ghost, loki97, rc2, serpent, threeway, twofish, wake, xtea
1 comments:
Short and sweet
Post a Comment