SiteMap Search ElispArea HowTo Glossary RecentChanges News Problems Suggestions

CryptPlusPlus

Last edit

Summary: Remove extra line

Changed:

< * ''Current'': http://cvs.xemacs.org/viewcvs.cgi/XEmacs/packages/xemacs-packages/os-utils/crypt.el

to

> * '''Current''': http://cvs.xemacs.org/viewcvs.cgi/XEmacs/packages/xemacs-packages/os-utils/crypt.el

Deleted:

< The development has been taken over by XEmacs and the package is


Overview

CryptPlusPlus by KarlBerry? <karl@cs.umb.edu> can open and save encrypted files and buffers.It also supports many encryption programs, like GPG, bcrypt, openssl RC4 etc. The encrypted file is detected by group of magic characters at the beginning.

The original pacgake is no longer developed. Please use crypt.el from XEmacs instead

Install

(require 'crypt++)

;; crypt++ with gpg backend
(setq crypt-encryption-type 'gpg
      crypt-encryption-file-extension "\\(\\.gpg\\)$")

(modify-coding-system-alist 'file "\\.gpg\\'" 'no-conversion)

Encryption in emacs-wiki with crypt++

To encrypt files transparently with emacs-wiki. Place something like this in your .emacs:

;; crypt++ - i use this in conjunction with emacs-wiki
(require 'crypt++)
(setq crypt-encryption-type 'mcrypt
      crypt-encryption-file-extension "\\(Secure\\)$\\|\\(\\.enc\\)$")
(setq emacs-wiki-ignored-extensions-regexp "\\.\\(bz2\\|gz\\|[Zz]\\|enc\\)\\'")

All wiki links named with Secure at the end will now be transparently encoded and decoded. You can also name a wiki link as "FooBar", and rename the file on the filesystem to "FooBar.enc". Following the link to "FooBar" will now check to see if there is a FooBar.enc file.

I prefer to see whether a file is secured or not, though. --KarlBerry?


CategoryCryptography