So for a school assignment we are working with hashes. However I've encountered a problem where my file.txt containing:
test hashes
test hashes
without quotes doesn't match the hash from HashCalc (for windows) and http://www.md5hashgenerator.com/ both come up with cd7e8e88f33efb42e0a1148e92c5005b while md5sum on my kali linux comes up with f3c5fdf4320346eb9bd2a6b64235248e using
head -c -1 file.txt | md5sum
It works fine with just one line of test hashes, but with the second line I can't make it match.