|
|
1.1 ! root 1: ! 2: ! 3: ! 4: CRYPT(1) 1989 CRYPT(1) ! 5: ! 6: ! 7: ! 8: NNAAMMEE ! 9: crypt - encode/decode ! 10: ! 11: SSYYNNOOPPSSIISS ! 12: ccrryypptt [ password ] ! 13: ! 14: DDEESSCCRRIIPPTTIIOONN ! 15: TThhiiss iinntteerrffaaccee iiss oobbssoolleetteedd bbyy ddeess((11)).. ! 16: ! 17: _C_r_y_p_t reads from the standard input and writes on the stan- ! 18: dard output. The _p_a_s_s_w_o_r_d is a key that selects a particu- ! 19: lar transformation. If no _p_a_s_s_w_o_r_d is given, _c_r_y_p_t demands ! 20: a key from the terminal and turns off printing while the key ! 21: is being typed in. _C_r_y_p_t encrypts and decrypts with the ! 22: same key: ! 23: ! 24: crypt key <clear >cypher ! 25: crypt key <cypher | pr ! 26: ! 27: will print the clear. ! 28: ! 29: Files encrypted by _c_r_y_p_t are compatible with those treated ! 30: by the editor _e_d in encryption mode. ! 31: ! 32: The security of encrypted files depends on three factors: ! 33: the fundamental method must be hard to solve; direct search ! 34: of the key space must be infeasible; `sneak paths' by which ! 35: keys or cleartext can become visible must be minimized. ! 36: ! 37: _C_r_y_p_t implements a one-rotor machine designed along the ! 38: lines of the German Enigma, but with a 256-element rotor. ! 39: Methods of attack on such machines are known, but not ! 40: widely; moreover the amount of work required is likely to be ! 41: large. ! 42: ! 43: The transformation of a key into the internal settings of ! 44: the machine is deliberately designed to be expensive, i.e. ! 45: to take a substantial fraction of a second to compute. How- ! 46: ever, if keys are restricted to (say) three lower-case ! 47: letters, then encrypted files can be read by expending only ! 48: a substantial fraction of five minutes of machine time. ! 49: ! 50: Since the key is an argument to the _c_r_y_p_t command, it is ! 51: potentially visible to users executing _p_s(1) or a deriva- ! 52: tive. To minimize this possibility, _c_r_y_p_t takes care to ! 53: destroy any record of the key immediately upon entry. No ! 54: doubt the choice of keys and key security are the most ! 55: vulnerable aspect of _c_r_y_p_t. ! 56: ! 57: FFIILLEESS ! 58: /dev/tty for typed key ! 59: ! 60: ! 61: ! 62: ! 63: Printed 7/27/90 September 1 ! 64: ! 65: ! 66: ! 67: ! 68: ! 69: ! 70: CRYPT(1) 1989 CRYPT(1) ! 71: ! 72: ! 73: ! 74: SSEEEE AALLSSOO ! 75: ed(1), crypt(3), makekey(8) ! 76: ! 77: BBUUGGSS ! 78: There is no warranty of merchantability nor any warranty of ! 79: fitness for a particular purpose nor any other warranty, ! 80: either express or implied, as to the accuracy of the ! 81: enclosed materials or as to their suitability for any par- ! 82: ticular purpose. Accordingly, Bell Telephone Laboratories ! 83: assumes no responsibility for their use by the recipient. ! 84: Further, Bell Laboratories assumes no obligation to furnish ! 85: any assistance of any kind whatsoever, or to furnish any ! 86: additional information or documentation. ! 87: ! 88: ! 89: ! 90: ! 91: ! 92: ! 93: ! 94: ! 95: ! 96: ! 97: ! 98: ! 99: ! 100: ! 101: ! 102: ! 103: ! 104: ! 105: ! 106: ! 107: ! 108: ! 109: ! 110: ! 111: ! 112: ! 113: ! 114: ! 115: ! 116: ! 117: ! 118: ! 119: ! 120: ! 121: ! 122: ! 123: ! 124: ! 125: ! 126: ! 127: ! 128: ! 129: Printed 7/27/90 September 2 ! 130: ! 131: ! 132:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.