2014-02-10 23:44:02 +00:00
|
|
|
# md5
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Calculate MD5 cryptographic checksums.
|
2021-11-03 17:09:46 +00:00
|
|
|
> More information: <https://ss64.com/osx/md5.html>.
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2016-01-20 11:45:42 +00:00
|
|
|
- Calculate the MD5 checksum for a file:
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2015-11-22 20:48:31 +00:00
|
|
|
`md5 {{filename}}`
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2016-01-20 11:45:42 +00:00
|
|
|
- Calculate MD5 checksums for multiple files:
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2014-02-10 23:44:02 +00:00
|
|
|
`md5 {{filename1}} {{filename2}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Output only the md5 checksum (no filename):
|
2014-02-10 23:44:02 +00:00
|
|
|
|
|
|
|
`md5 -q {{filename}}`
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print a checksum of the given string:
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2022-02-14 11:21:43 +00:00
|
|
|
`md5 -s "{{string}}"`
|