Could you please tell me what is the difference of coreutils'
sha*sum tools (
sha224sum, etc.) compared to Crypto++'s digest functions?
I've written a piece of code using Crypto++ hash functions but the result is different from the corresponding Unix tools'.
For example if I write in command line:
echo test123 | md5sum
but the Crypto++ MD5 function results with:
Similar things happens when I use another digest functions (as mentioned earlier).
Both Unix and Crypto++ manuals says it simply calculates digest, but says nothing about output format.
I can see both have the same length, both seem to be in hexadecimal form (0-f) and moreover when I type the hashes into Google, in both cases it says that it is an MD5 hash of
Do you have any ideas about it?