I have managed to add md5 summing with only a 2808 byte increase.

I am implementing it as a --md5sum flag to 'dd', with a script:

  #!/bin/sh
  [ $# -gt 0 ] && exec 0<$1
  dd -q --md5sum >/dev/null

called md5sum in /usr/bin.  Obviously a little work with the script
would be needed to give the exact behaviour of the gnu- md5sum, but
it is close enough for a start.  I used the Deutsch/Alladin md5.c.

-Tom



Reply via email to