Research V4 development
authorKen Thompson <ken@research.uucp>
Tue, 6 Nov 1973 01:18:37 +0000 (20:18 -0500)
committerKen Thompson <ken@research.uucp>
Tue, 6 Nov 1973 01:18:37 +0000 (20:18 -0500)
Work on file man/man3/crypt.3

Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v4

man/man3/crypt.3 [new file with mode: 0644]

diff --git a/man/man3/crypt.3 b/man/man3/crypt.3
new file mode 100644 (file)
index 0000000..c5f6043
--- /dev/null
@@ -0,0 +1,30 @@
+.th CRYPT III 4/30/73
+.sh NAME
+crypt \*- password encoding
+.sh SYNOPSIS
+.ft B
+mov    $key,r0
+.br
+jsr    pc,crypt
+.s3
+char *crypt(key)
+.br
+char *key;
+.ft R
+.sh DESCRIPTION
+On entry, r0 should point to a string of
+characters terminated by an ASCII NULL.  The routine
+performs an operation on the key which is difficult to invert
+(i.e. encrypts it) and leaves the resulting eight bytes
+of ASCII alphanumerics in a global cell called ``word''.
+.s3
+From C, the
+.it key
+argument is a string
+and the value returned is a pointer to the eight-character
+encrypted password.
+.s3
+Login uses this result as a password.
+.sh "SEE ALSO"
+passwd(I), passwd(V), login(I)
+.sh BUGS