Standards, Environments, and Macros cryptunix(5)
NAME
cryptunix - traditional UNIX crypt algorithm
DESCRIPTION
The cryptunix algorithm is the traditional UNIX crypt algo-
rithm. It is not considered sufficiently secure for current
systems and is provided for backwards compatibility. The
cryptsunmd5(5), cryptbsdmd5(5), or cryptbsdbf(5) algo-
rithm should be used instead.
The algorithm identifier for policy.conf(4) is unix.
There is no entry in crypt.conf(4) for this algorithm.
The cryptunix algorithm is internal to libc and provides
the string encoding function used by crypt(3C) when the
first character of the salt is not a "$".
This algorithm is based on a one-way encryption algorithm
with variations intended (among other things) to frustrate
use of hardware implementations of a key search. Only the
first eight characters of the key passed to crypt() are used
with this algorithm; the rest are silently ignored. The salt
is a two-character string chosen from the set [a-zA-Z0-9./].
This string is used to perturb the hashing algorithm in one
of 4096 different ways.
The maximum password length for cryptunix is 8 characters.
USAGE
The return value of the cryptunix algorithm might not be
portable among standard-conforming systems. See stan-
dards(5).
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Safe
SEE ALSO
SunOS 5.11 Last change: 6 Aug 2003 1
Standards, Environments, and Macros cryptunix(5)
passwd(1), crypt(3C), cryptgenhashimpl(3C),
cryptgensalt(3C), cryptgensaltimpl(3C),
getpassphrase(3C), crypt.conf(4), passwd(4), policy.conf(4),
attributes(5), cryptbsdbf(5), cryptbsdmd5(5),
cryptsunmd5(5), standards(5)
SunOS 5.11 Last change: 6 Aug 2003 2
|