md5sum.1 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .\" Hey, Emacs! This is an -*- nroff -*- source file.
  2. .TH MD5SUM 1 "29th November 1995" "Lankester et al" "Debian GNU/Linux"
  3. .SH NAME
  4. md5sum \- generates or checks MD5 message digests
  5. .SH SYNOPSIS
  6. .B md5sum
  7. [-bv] [-c [file]] | [file...]
  8. .SH DESCRIPTION
  9. .B md5sum
  10. generates or checks MD5 checksums. The algorithm to generate the
  11. checksum is reasonably fast and strong enough for most cases. Exact
  12. specification of the algorithm is in
  13. .I RFC 1321.
  14. Normally
  15. .B md5sum
  16. generates checksums of all files given to it as a parameter and prints
  17. the checksums followed by the filenames. If, however,
  18. .B -c
  19. is specified, only one filename parameter is allowed. This file should
  20. contain checksums and filenames to which these checksums refer to, and
  21. the files listed in that file are checked against the checksums listed
  22. there. See option
  23. .B -c
  24. for more information.
  25. .SS OPTIONS
  26. .TP
  27. .B -b
  28. Use binary mode. In unix environment, only difference between this and
  29. the normal mode is an asterix preceding the filename in the output.
  30. .TP
  31. .B -c
  32. Check md5sum of all files listed in
  33. .I file
  34. against the checksum listed in the same file. The actual format of that
  35. file is the same as output of
  36. .B md5sum.
  37. That is, each line in the file describes a file. A line looks like:
  38. .B <MD5 checksum> <filename>
  39. So, for example, a file containing checksum for this manpage would look
  40. like(don't worry, if the checkusum doesn't match, there is a minor
  41. problem in keeping it up to date):
  42. .B c6514f34ffe6e1ce146e1f17db2c0f90 md5sum.1
  43. .TP
  44. .B -v
  45. Be more verbose. Print filenames when checking (with -c).
  46. .SH BUGS
  47. The related MD4 message digest algorithm was broken in October 1995.
  48. MD5 isn't looking as secure as it used to.
  49. This manpage is not quite accurate and has formatting inconsistent
  50. with other manpages.
  51. .B md5sum
  52. does not accept standard options like
  53. .BR -\-\help .
  54. .SH AUTHOR
  55. .B md5sum
  56. was originally written by Branko Lankester, and modified afterwards by
  57. Colin Plumb and Ian Jackson (ijackson@gnu.ai.mit.edu). Manual page was
  58. added by Juho Vuori (javuori@cc.helsinki.fi)