File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / crypt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



crypt()                  General Function                 crypt()




Encryption using rotor algorithm

cchhaarr *ccrryypptt(_k_e_y, _e_x_t_r_a); cchhaarr *_k_e_y, *_e_x_t_r_a;

crypt implements  a version of rotor  encryption.  crypt produces
encrypted passwords that  are verified by comparing the encrypted
clear text against an original encryption.

key is an ASCII  string that contains the user's password.  extra
is a string of  two additional characters, stored in the password
file with the  encrypted password.  Each character must come from
an alphabet  of 64 symbols, which consists  of the upper-case and
lower-case letters, digits, the period `.', and the slash `/'.

crypt  returns  a string  built  from  the 64-character  alphabet
described above; the  first two characters returned are the extra
argument, and the rest contain the encrypted password.

***** See Also *****

ASCII, general functions



































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

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