From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Encryption with emacs?` Date: Mon, 28 Nov 2005 17:18:10 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: References: <1133176962.804188.170470@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133198453 4772 80.91.229.2 (28 Nov 2005 17:20:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2005 17:20:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 28 18:20:50 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Egmft-0001hY-R3 for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Nov 2005 18:20:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Egmft-0000Sa-0K for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Nov 2005 12:20:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!207.69.154.102.MISMATCH!elnk-atl-nf2!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!0847253b!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 4.159.32.221 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread2.news.atl.earthlink.net 1133198290 4.159.32.221 (Mon, 28 Nov 2005 09:18:10 PST) Original-NNTP-Posting-Date: Mon, 28 Nov 2005 09:18:10 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:135871 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31476 Archived-At: wrote in message news:1133176962.804188.170470@g49g2000cwa.googlegroups.com... > > > How can I have my documents that i edit in emacs passworded? > > Thanks > rot13-other-window M-x rot13-other-window RET is probably good enough to protect the innocent. For the ultimate in encryption put a "provably" random sequence of bytes into a file on a floppy or flash drive and byte-wise xor your files with this both to encrypt and to decrypt. If your random file is sufficiently large and you randomize the file pointer (a start point indexed into the random file which is stored (also encrypted) as the first bytes of the encrypted file) then you will have something similar to a one time pad. Keep the floppy or flash drive with you at all times and microwave it for 10 minutes on high power if you think you are in danger of being captured. ;-) It might be a challenge to implement this in elisp, especially for large files.