diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/1/idea | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'man/1/idea')
| -rw-r--r-- | man/1/idea | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/man/1/idea b/man/1/idea new file mode 100644 index 00000000..f874c90a --- /dev/null +++ b/man/1/idea @@ -0,0 +1,65 @@ +.TH IDEA 1 +.SH NAME +idea \- encrypt/decrypt a file with the IDEA cipher +.SH SYNOPSIS +.B idea +[ +.B -e +] +[ +.B -d +] +.I key +[ +.I datafile +] +.SH DESCRIPTION +.I Idea +encrypts or decrypts data using the IDEA (International Data Encryption Algorithm) cipher +first proposed by Xuejia Lai and James Massey in 1990. +.PP +The +.B -e +option encrypts the data +and the +.B -d +option decrypts the data. Exactly one of these must be specified on the command line. +.PP +The +.I key +is any 16 character string which is used as the key for both encryption and decryption. +.PP +The data to be encrypted/decrypted is either in +.I datafile +or is read from standard input. If no input file is given, the output from +.I idea +is always sent to standard output. For encryption, if an input file is specified the output +is sent to a file with the name +.I datafile.id. +For decryption, if an input file is specified it +should have a .id extension and the output is sent to a file whose name is that of +.I datafile +without the .id extension. +.SH EXAMPLES +.PP +Encrypt the data in the file A10076795.gz: +.IP +.EX +idea -e 'abcd2345 $+*LMNO' A10076795.gz +.EE +.PP +The encrypted data is put in the file A10076795.gz.id. Once this file is transmitted, +the receiver can then decrypt it, as long as he has the key, with: +.IP +.EX +idea -d 'abcd2345 $+*LMNO' A10076795.gz.id +.EE +.PP +The decryped data is put in the file A10076795.gz. +.PP +Note that the quotes around the key are interpreted by the shell and simply delimit +the key string. +.SH SOURCE +.B /appl/cmd/idea.b +.br +.B /utils/idea/idea.c |
