Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ crypt(III) — UNIX 6th Edition 1.3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

passwd(I)

passwd(V)

login(I)

CRYPT(III)  −  PWB/UNIX 4/30/73

NAME

crypt − password encoding

SYNOPSIS

mov$key,r0
jsrpc,crypt char *crypt(key)
char *key;

DESCRIPTION

On entry, r0 points to a string of characters terminated by an ASCII NUL.  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”.  From C, the key argument is a string and the value returned is a pointer to the eight-character result.  This routine is used to encrypt all passwords.

SEE ALSO

passwd(I), passwd(V), login(I)

BUGS

Short or otherwise simple passwords can be decrypted easily by exhaustive search.  Six characters of gibberish is reasonably safe. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026