|
|
1.1 root 1: .th CRYPT III 4/30/73
2: .sh NAME
3: crypt \*- password encoding
4: .sh SYNOPSIS
5: .ft B
6: mov $key,r0
7: .br
8: jsr pc,crypt
9: .s3
10: char *crypt(key)
11: .br
12: char *key;
13: .ft R
14: .sh DESCRIPTION
15: On entry, r0 should point to a string of
16: characters terminated by an ASCII NULL. The routine
17: performs an operation on the key which is difficult to invert
18: (i.e. encrypts it) and leaves the resulting eight bytes
19: of ASCII alphanumerics in a global cell called ``word''.
20: .s3
21: From C, the
22: .it key
23: argument is a string
24: and the value returned is a pointer to the eight-character
25: encrypted password.
26: .s3
27: Login uses this result as a password.
28: .sh "SEE ALSO"
29: passwd(I), passwd(V), login(I)
30: .sh BUGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.