Query: ns_crypt
OS: debian
Section: 3aolserv
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ns_crypt(3aolserver) AOLserver Built-In Commands ns_crypt(3aolserver) __________________________________________________________________________________________________________________________________________________NAMEns_crypt - commandsSYNOPSISns_crypt key salt _________________________________________________________________DESCRIPTIONns_crypt encrypted the key, also known as the password, using the salt and returns the result. It uses the same algorithm as the unix crypt command. The result from ns_crypt is a 13-character string. The first two characters correspond to the salt, and the remaining eleven characters correspond to the password encrypted with the specified salt. The password is a string (typically that of a password to be used for nscp and/or nsperm authentication). salt should be two characters, typically from the set [a-zA-Z0-9./]. If the empty string is specified as the salt then ns_crypt returns the empty string. If a string longer than two characters is specified for the salt it is truncated to two characters. If a one character salt is provided the output will appear to have a two-character salt (the single character repeated), however, the encrypted value does not correspond to the same password being encrypted with the equivalent two character salt. (As a result sticking with a two character salt is highly recommended.) Input to ns_crypt is case-sensitive.EXAMPLESnscp> ns_crypt aolserver ns ns0WvClsyIL4A nscp> ns_crypt aolserver NS NSDQ1dPM.409Q nscp> ns_crypt aolserver tcl tcAbgtlzbEhVc nscp> ns_crypt aolserver tc tcAbgtlzbEhVc nscp> ns_crypt aolserver .. ..7TNvXHLxJ9Y nscp> ns_crypt aolserver . ..fwmBaZuzrRsSEE ALSOnsd(1), info(n), nscp, nsperm, crypt(3)KEYWORDSAOLserver 4.0 ns_crypt(3aolserver)
Related Man Pages |
---|
crypt(3) - bsd |
encrypt(3) - bsd |
crypt(3) - v7 |
pwdauth(8) - minix |
crypt_r(3c) - hpux |
Similar Topics in the Unix Linux Community |
---|
Help in find and replace. |
CEP as a “BI Megatrend”? |
What is "salt character" and what does it do? |
Increase salt size |
4-Byte Salt (in hex) to Integer |