|
|
1.1 root 1: .TH CRYPT 1
2: .CT 1 misc files secur
3: .SH NAME
4: crypt, encrypt, decrypt \- encode/decode
5: .SH SYNOPSIS
6: .B /usr/games/crypt
7: [
8: .I password
9: ]
10: .PP
11: .B /usr/games/encrypt
12: [
13: .B -p
14: ] [
15: .I password
16: ]
17: .PP
18: .B /usr/games/decrypt
19: [
20: .B -p
21: ] [
22: .I password
23: ]
24: .SH DESCRIPTION
25: These commands read from the standard input and write
26: on the standard output.
27: The
28: .I password
29: is an enciphering key.
30: If no password
31: is given,
32: one is demanded from the terminal;
33: echoing is turned off while it is being typed in.
34: .I Crypt
35: uses a relatively simple, fast method (rotor machine) for both
36: enciphering and deciphering.
37: .I Encrypt
38: and
39: .I decrypt
40: use a more robust, slower method (DES).
41: Files enciphered by
42: .I crypt
43: are not intelligible to
44: .I encrypt/decrypt,
45: and vice versa.
46: .PP
47: It is prudent to supply the key from the terminal,
48: not from the command line, and to pick a reasonably obscure and long key
49: (6 letters for
50: .I crypt
51: and much longer for
52: .IR encrypt ).
53: .PP
54: Under option
55: .B -p
56: .I encrypt
57: enciphers into printing characters, which can be sent by
58: .IR mail (1).
59: .I Decrypt
60: can distinguish ciphertext from clear:
61: it will work on a full mail message, headers and all.
62: .SH FILES
63: .F /dev/tty
64: for typed key
65: .SH "SEE ALSO"
66: .IR ed (1),
67: .IR makekey (8)
68: .br
69: J. A. Reeds and P. J. Weinberger,
70: `File Security and the Unix Crypt Command,'
71: .I AT&T Bell Laboratories Technical Journal,
72: .B 63
73: (1984) 1673-1684
74: .SH BUGS
75: Encipherment cannot frustrate
76: adversaries with super-user privileges.
77: Cryptogames have other dangers too.
78: The only useful application
79: is in data transmission.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.