echo -n '<md4-hash>' > hash.txt
john --format=raw-md4 --wordlist=wordlist.txt hash.txt
# or
hashcat -m 900 -a 0 hash.txt wordlist.txt
echo -n '<md5-hash>' > hash.txt
john --format=raw-md5 --wordlist=wordlist.txt hash.txt
# or
hashcat -m 0 -a 0 hash.txt wordlist.txt
echo -n 'hello' | md5sum
md5sum sample.txt