1crypt_unix(5)         Standards, Environments, and Macros        crypt_unix(5)
2
3
4

NAME

6       crypt_unix - traditional UNIX crypt algorithm
7

DESCRIPTION

9       The crypt_unix algorithm is the traditional UNIX crypt algorithm. It is
10       not considered sufficiently secure for current systems and is  provided
11       for  backwards  compatibility. The crypt_sunmd5(5), crypt_bsdmd5(5), or
12       crypt_bsdbf(5) algorithm should be used instead.
13
14
15       The algorithm identifier for policy.conf(4) is __unix__.  There  is  no
16       entry in crypt.conf(4) for this algorithm.
17
18
19       The  crypt_unix  algorithm  is internal to libc and provides the string
20       encoding function used by crypt(3C) when the  first  character  of  the
21       salt is not a "$".
22
23
24       This  algorithm  is based on a one-way encryption algorithm with varia‐
25       tions intended (among other things) to frustrate use of hardware imple‐
26       mentations of a key search.  Only the first eight characters of the key
27       passed to crypt() are used with this algorithm; the rest  are  silently
28       ignored.  The salt is a two-character string chosen from the set [a-zA-
29       Z0-9./].  This string is used to perturb the hashing algorithm  in  one
30       of 4096 different ways.
31
32
33       The maximum password length for crypt_unix is 8 characters.
34

USAGE

36       The  return  value  of  the  crypt_unix algorithm might not be portable
37       among standard-conforming systems. See standards(5).
38

ATTRIBUTES

40       See attributes(5) for descriptions of the following attributes:
41
42
43
44
45       ┌─────────────────────────────┬─────────────────────────────┐
46       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
47       ├─────────────────────────────┼─────────────────────────────┤
48       │MT-Level                     │Safe                         │
49       └─────────────────────────────┴─────────────────────────────┘
50

SEE ALSO

52       passwd(1),   crypt(3C),   crypt_genhash_impl(3C),    crypt_gensalt(3C),
53       crypt_gensalt_impl(3C),  getpassphrase(3C),  crypt.conf(4),  passwd(4),
54       policy.conf(4),   attributes(5),    crypt_bsdbf(5),    crypt_bsdmd5(5),
55       crypt_sunmd5(5), standards(5)
56
57
58
59SunOS 5.11                        6 Aug 2003                     crypt_unix(5)
Impressum