Subject: Re: easiest way to encrypt a file?
To: None <firstname.lastname@example.org>
From: Aaron J. Grier <email@example.com>
Date: 12/17/2004 11:25:35
On Fri, Dec 17, 2004 at 10:28:00AM -0800, Jeremy C. Reed wrote:
> I have used zip and pgp and gpg to encrypt files. But what other ways
> do you suggest?
> Anything in the NetBSD base? (And examples?)
bdes(1) ships with the base install. (and rot13 and caesar, too.)
$ cat > infile << EOF
$ bdes -a < infile > outfile
Enter key: # put some key here
$ hexdump -c outfile
0000000 347 i 346 5 : 0 \0 027 272 215 023 001 210 313 247
0000010 ' 207 261 321 005 K M 4
$ bdes -a -d < outfile
Enter key: # the same key as above
there's one mechanism. I'll leave the security implications to others.
Aaron J. Grier | "Not your ordinary poofy goof." | firstname.lastname@example.org
The United States is the one true country. The US is just. The US
is fair. The US respects its citizens. The US loves you. We have
always been at war against terrorism.