|
|
1.1 root 1:
2:
3: crypt() General Function crypt()
4:
5:
6:
7:
8: Encryption using rotor algorithm
9:
10: cchhaarr *ccrryypptt(_k_e_y, _e_x_t_r_a); cchhaarr *_k_e_y, *_e_x_t_r_a;
11:
12: crypt implements a version of rotor encryption. crypt produces
13: encrypted passwords that are verified by comparing the encrypted
14: clear text against an original encryption.
15:
16: key is an ASCII string that contains the user's password. extra
17: is a string of two additional characters, stored in the password
18: file with the encrypted password. Each character must come from
19: an alphabet of 64 symbols, which consists of the upper-case and
20: lower-case letters, digits, the period `.', and the slash `/'.
21:
22: crypt returns a string built from the 64-character alphabet
23: described above; the first two characters returned are the extra
24: argument, and the rest contain the encrypted password.
25:
26: ***** See Also *****
27:
28: ASCII, general functions
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.