File:  [Research Unix] / researchv10dc / dist / man / v4 / man3 / crypt.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.