diff options
author | aaron <> | 1999-07-09 13:35:15 +0000 |
---|---|---|
committer | aaron <> | 1999-07-09 13:35:15 +0000 |
commit | 0c53b543fa453740e95946808621acf8e057db80 (patch) | |
tree | e59db8f74612cfe765841e1ae490c8df9c2736b0 /src/lib/libc/crypt/crypt.3 | |
parent | 25db34ffae569e9ff78fd3f5f6f621ee73da9a2f (diff) | |
download | openbsd-0c53b543fa453740e95946808621acf8e057db80.tar.gz openbsd-0c53b543fa453740e95946808621acf8e057db80.tar.bz2 openbsd-0c53b543fa453740e95946808621acf8e057db80.zip |
- remove all trailing whitespace
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages
Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...
Diffstat (limited to '')
-rw-r--r-- | src/lib/libc/crypt/crypt.3 | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/lib/libc/crypt/crypt.3 b/src/lib/libc/crypt/crypt.3 index 239c9b3089..c22e4d21af 100644 --- a/src/lib/libc/crypt/crypt.3 +++ b/src/lib/libc/crypt/crypt.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: crypt.3,v 1.12 1999/03/18 11:08:33 aaron Exp $ | 1 | .\" $OpenBSD: crypt.3,v 1.13 1999/07/09 13:35:15 aaron Exp $ |
2 | .\" | 2 | .\" |
3 | .\" FreeSec: libcrypt | 3 | .\" FreeSec: libcrypt |
4 | .\" | 4 | .\" |
@@ -94,42 +94,42 @@ and | |||
94 | .Fa salt . | 94 | .Fa salt . |
95 | .Ss "MD5" crypt: | 95 | .Ss "MD5" crypt: |
96 | .Pp | 96 | .Pp |
97 | For | 97 | For |
98 | .Tn MD5 | 98 | .Tn MD5 |
99 | crypt the version number, | 99 | crypt the version number, |
100 | .Fa salt | 100 | .Fa salt |
101 | and the hashed password are separated | 101 | and the hashed password are separated |
102 | by the ``$'' character. The maximum length of a password is limited by | 102 | by the ``$'' character. The maximum length of a password is limited by |
103 | the length counter of the MD5 context, which is about | 103 | the length counter of the MD5 context, which is about |
104 | 2**64. A valid MD5 password entry looks like this: | 104 | 2**64. A valid MD5 password entry looks like this: |
105 | .Pp | 105 | .Pp |
106 | ``$1$caeiHQwX$hsKqOjrFRRN6K32OWkCBf1''. | 106 | ``$1$caeiHQwX$hsKqOjrFRRN6K32OWkCBf1''. |
107 | .Pp | 107 | .Pp |
108 | The whole MD5 password string is passed as | 108 | The whole MD5 password string is passed as |
109 | .Fa setting | 109 | .Fa setting |
110 | for interpretation. | 110 | for interpretation. |
111 | .Ss "Blowfish" crypt: | 111 | .Ss "Blowfish" crypt: |
112 | .Pp | 112 | .Pp |
113 | The | 113 | The |
114 | .Tn Blowfish | 114 | .Tn Blowfish |
115 | version of crypt has 128 bits of | 115 | version of crypt has 128 bits of |
116 | .Fa salt | 116 | .Fa salt |
117 | in order to make building | 117 | in order to make building |
118 | dictionaries of common passwords space consuming. The initial state | 118 | dictionaries of common passwords space consuming. The initial state |
119 | of the | 119 | of the |
120 | .Tn Blowfish | 120 | .Tn Blowfish |
121 | cipher is expanded using the | 121 | cipher is expanded using the |
122 | .Fa salt | 122 | .Fa salt |
123 | and the | 123 | and the |
124 | .Fa password | 124 | .Fa password |
125 | repeating the process a variable number of rounds, which is encoded in | 125 | repeating the process a variable number of rounds, which is encoded in |
126 | the password string. The maximum password length is 72. The final Blowfish | 126 | the password string. The maximum password length is 72. The final Blowfish |
127 | password entry is created by encrypting | 127 | password entry is created by encrypting |
128 | the string ``OrpheanBeholderScryDoubt'' with the | 128 | the string ``OrpheanBeholderScryDoubt'' with the |
129 | .Tn Blowfish | 129 | .Tn Blowfish |
130 | state 64 times. | 130 | state 64 times. |
131 | .Pp | 131 | .Pp |
132 | The version number, the logarithm of the number of rounds and | 132 | The version number, the logarithm of the number of rounds and |
133 | the concatenation of salt and | 133 | the concatenation of salt and |
134 | hashed password are separated by the ``$'' character. An encoded ``8'' | 134 | hashed password are separated by the ``$'' character. An encoded ``8'' |
135 | would specify 256 rounds. | 135 | would specify 256 rounds. |
@@ -137,7 +137,7 @@ A valid Blowfish password looks like this: | |||
137 | .Pp | 137 | .Pp |
138 | ``$2a$12$eIAq8PR8sIUnJ1HaohxX2O9x9Qlm2vK97LJ5dsXdmB.eXF42qjchC''. | 138 | ``$2a$12$eIAq8PR8sIUnJ1HaohxX2O9x9Qlm2vK97LJ5dsXdmB.eXF42qjchC''. |
139 | .Pp | 139 | .Pp |
140 | The whole Blowfish password string is passed as | 140 | The whole Blowfish password string is passed as |
141 | .Fa setting | 141 | .Fa setting |
142 | for interpretation. | 142 | for interpretation. |
143 | .Ss "Traditional" crypt: | 143 | .Ss "Traditional" crypt: |
@@ -285,13 +285,13 @@ first appeared in | |||
285 | This library (FreeSec 1.0) was developed outside the United States of America | 285 | This library (FreeSec 1.0) was developed outside the United States of America |
286 | as an unencumbered replacement for the U.S.-only libcrypt encryption | 286 | as an unencumbered replacement for the U.S.-only libcrypt encryption |
287 | library. | 287 | library. |
288 | Programs linked against the | 288 | Programs linked against the |
289 | .Fn crypt | 289 | .Fn crypt |
290 | interface may be exported from the U.S.A. only if they use | 290 | interface may be exported from the U.S.A. only if they use |
291 | .Fn crypt | 291 | .Fn crypt |
292 | solely for authentication purposes and avoid use of | 292 | solely for authentication purposes and avoid use of |
293 | the other programmer interfaces listed above. Special care has been taken | 293 | the other programmer interfaces listed above. Special care has been taken |
294 | in the library so that programs which only use the | 294 | in the library so that programs which only use the |
295 | .Fn crypt | 295 | .Fn crypt |
296 | interface do not pull in the other components. | 296 | interface do not pull in the other components. |
297 | .Sh AUTHOR | 297 | .Sh AUTHOR |