1crypt_sunmd5(5) Standards, Environments, and Macros crypt_sunmd5(5)
2
3
4
6 crypt_sunmd5 - password hashing module using MD5 message hash algorithm
7
9 /usr/lib/security/$ISA/crypt_sunmd5.so
10
11
13 The crypt_sunmd5 module is a one-way password hashing module for use
14 with crypt(3C) that uses the MD5 message hash algorithm. The algorithm
15 identifier for crypt.conf(4) and policy.conf(4) is md5.
16
17
18 This module is designed to make it difficult to crack passwords that
19 use brute force attacks based on high speed MD5 implementations that
20 use code inlining, unrolled loops, and table lookup.
21
22
23 The maximum password length for crypt_sunmd5 is 255 characters.
24
25
26 The following options can be passed to the module by means of
27 crypt.conf(4):
28
29 rounds=<positive_number> Specifies the number of additional rounds
30 of MD5 to use in generation of the salt;
31 the default number of rounds is 4096. Nega‐
32 tive values have no effect and are ignored,
33 that is, the number of rounds cannot be
34 lowered below 4096.
35
36 The number of additional rounds is stored
37 in the salt string returned by crypt_gen‐
38 salt(3C). For example:
39
40 $md5,rounds=1000$nlxmTTpz$
41
42 When crypt_gensalt(3C) is being used to
43 generate a new salt, if the number of addi‐
44 tional rounds configured in crypt.conf(4)
45 is greater than that in the old salt, the
46 value from crypt.conf(4) is used instead.
47 This allows for migration to stronger (but
48 more time-consuming) salts on password
49 change.
50
51
53 See attributes(5) for descriptions of the following attributes:
54
55
56
57
58 ┌─────────────────────────────┬─────────────────────────────┐
59 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
60 ├─────────────────────────────┼─────────────────────────────┤
61 │MT-Level │Safe │
62 └─────────────────────────────┴─────────────────────────────┘
63
65 passwd(1), crypt(3C), crypt_genhash_impl(3C), crypt_gensalt(3C),
66 crypt_gensalt_impl(3C), getpassphrase(3C), crypt.conf(4), passwd(4),
67 policy.conf(4), attributes(5)
68
69
70
71SunOS 5.11 23 Dec 2003 crypt_sunmd5(5)