leray:/home/ninomiya>gpg -c fileA gpg will prompt for passphrase to encrypt
leray:/home/ninomiya>ls fileA*
fileA fileA.gpg ``fileA.gpg'' generated
To decrypt fileA.gpg
leray:/home/ninomiya>gpg fileA.gpggpg will prompt for the passphrase. Providing the passphrase, you will get the ``fileA''
openssl command line tool. The OpenSSL project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library.
Example of simple encryption:
To encrypt fileA
leray:/home/ninomiya>openssl aes-256-cbc -a -salt -in fileA -out fileA.text.encoded
openssl will prompt for passphrase to encrypt
aes-256-cbcencryption cipher to be used is 256bit AES
-athe encrypted output will be base64 encoded (text file)
-saltstrong encryption
To decrypt fileA.text.encoded
leray:/home/ninomiya>openssl aes-256-cbc -d -a -in fileA.text.encoded -out fileA
Text book: ``Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp'' by Peter Norvig (amazon, amazon(in japanese),support page)
Text book: ``Successful Lisp'' by David B. Lamkins (html)
SLIME: The Superior Lisp Interaction Mode for Emacs