Lines Matching +full:mode +full:- +full:loader

12 .Nd calculate a message-digest fingerprint (checksum) for a file
22 .Op Fl -binary
23 .Op Fl -check
24 .Op Fl -help
25 .Op Fl -ignore-missing
26 .Op Fl -quiet
27 .Op Fl -status
28 .Op Fl -strict
29 .Op Fl -tag
30 .Op Fl -text
31 .Op Fl -version
32 .Op Fl -warn
33 .Op Fl -zero
40 .Op Fl -01
41 .Op Fl a | -algorithm Ar alg
42 .Op Fl -binary
43 .Op Fl -check
44 .Op Fl -help
45 .Op Fl -ignore-missing
46 .Op Fl -quiet
47 .Op Fl -status
48 .Op Fl -strict
49 .Op Fl -tag
50 .Op Fl -text
51 .Op Fl -UNIVERSAL
52 .Op Fl -version
53 .Op Fl -warn
73 utilities do the same, but with command-line options and an output
78 utility does the same, but with command-line options and an output
84 .Pa - ,
90 The SHA-224 , SHA-256 , SHA-384 , SHA-512, RIPEMD-160,
97 key under a public-key cryptosystem such as RSA.
99 The MD5 and SHA-1 algorithms have been proven to be vulnerable to practical
102 As of 2017-03-02, there is no publicly known method to
107 SHA-512t256 is a version of SHA-512 truncated to only 256 bits.
108 On 64-bit hardware, this algorithm is approximately 50% faster than SHA-256 but
112 SHA-512t224 is identical to SHA-512t256, but with the digest truncated
115 It is recommended that all new applications use SHA-512 or SKEIN-512
118 The following options are available in BSD mode, i.e. when the program
121 .Bl -tag -width indent
122 .It Fl c Ar string , Fl -check= Ns Ar string
127 .Fl -quiet
130 .It Fl p , -passthrough
132 In this mode, any files specified on the command line are silently ignored.
133 .It Fl q , -quiet
134 Quiet mode \(em only the checksum is printed out.
138 .Fl -reverse
140 .It Fl r , -reverse
147 .It Fl s Ar string , Fl -string= Ns Ar string
150 In this mode, any files specified on the command line are silently ignored.
151 .It Fl t , Fl -time-trial
152 Run a built-in time trial.
154 .Nm -sum
156 .It Fl x , Fl -self-test
157 Run a built-in test script.
160 The following options are available in GNU mode, i.e. when the program
163 .Bl -tag -width indent
164 .It Fl b , Fl -binary
165 Read files in binary mode.
166 .It Fl c , Fl -check
171 and either OK or FAILED is written for each well-formed line in the digest file.
173 skipped since they were not well-formed are printed at the end.
175 .Fl -quiet
178 .It Fl -help
180 .It Fl -ignore-missing
183 .It Fl -quiet
186 .It Fl -status
189 .It Fl -strict
191 .It Fl -tag
192 Produce BSD-style output.
193 .It Fl t , Fl -text
194 Read files in text mode.
197 and text mode.
198 .It Fl -version
200 .It Fl w , Fl -warn
202 .It Fl z , Fl -zero
206 The following options are available in Perl mode, i.e. when the program
209 .Bl -tag -width indent
210 .It Fl 0 , Fl -01
211 Read files in bits mode: ASCII
219 .It Fl a Ar alg , Fl -algorithm Ar alg
222 for SHA-1 (default),
225 .Va xxx Ns -bit
226 SHA-2 (e.g.
228 for SHA-256)
232 .Va xxx Ns -bit
233 SHA-2 truncated to
237 for SHA-512/224).
238 .It Fl b , Fl -binary
239 Read files in binary mode.
240 .It Fl c , Fl -check
245 and either OK or FAILED is written for each well-formed line in the digest file.
247 skipped since they were not well-formed are printed at the end.
249 .Fl -quiet
252 .It Fl -help
254 .It Fl -ignore-missing
257 .It Fl -quiet
260 .It Fl -status
263 .It Fl -strict
265 .It Fl -tag
266 Produce BSD-style output.
267 .It Fl t , Fl -text
268 Read files in text mode.
271 and text mode.
272 .It Fl U , Fl -UNIVERSAL
273 Read files in universal mode: any CR-LF pair, as well as any CR not
275 .It Fl -version
277 .It Fl w , Fl -warn
305 .Bd -literal -offset indent
306 $ md5 -s Hello
312 .Bd -literal -offset indent
313 $ echo -n Hello | md5
318 .Bd -literal -offset indent
319 $ md5 -r /boot/loader.conf /etc/rc.conf
320 ada5f60f23af88ff95b8091d6d67bef6 /boot/loader.conf
324 This is almost but not quite identical to the output from GNU mode:
325 .Bd -literal -offset indent
326 $ md5sum /boot/loader.conf /etc/rc.conf
327 ada5f60f23af88ff95b8091d6d67bef6 /boot/loader.conf
332 If binary mode is requested, they are instead separated by a space and
334 .Bd -literal -offset indent
335 $ md5sum -b /boot/loader.conf /etc/rc.conf
336 ada5f60f23af88ff95b8091d6d67bef6 */boot/loader.conf
341 .Pa /boot/loader.conf
348 .Bd -literal -offset indent
349 $ md5 /boot/loader.conf > digest && md5 -c $(cut -f2 -d= digest) /boot/loader.conf
350 MD5 (/boot/loader.conf) = ada5f60f23af88ff95b8091d6d67bef6
356 .Bd -literal -offset indent
357 $ md5 -c randomstring /boot/loader.conf
358 MD5 (/boot/loader.conf) = ada5f60f23af88ff95b8091d6d67bef6 [ Failed ]
361 In GNU mode, the
367 .Pa /boot/loader.conf
369 .Bd -literal -offset indent
370 $ md5sum -c digest
371 /boot/loader.conf: OK
375 generated in either BSD or GNU mode.
391 .%T The MD5 Message-Digest Algorithm
397 .%O FIPS PUB 180-2
405 RIPEMD-160 is part of the ISO draft standard
406 .Qq ISO/IEC DIS 10118-3
410 .Pa https://www.nist.gov/publications/secure-hash-standard-shs
412 The RIPEMD-160 page:
415 In bits mode, the original
421 .An -nosplit
425 Support for SHA-1 and RIPEMD-160 was added by
428 Support for SHA-2 was added by
439 .An Dag-Erling Sm\(/orgrav Aq Mt des@FreeBSD.org ,