Currently I have a 2gb database with approximately 100 million lines and I want to convert every single line to md5 hash is there a program that can do it relatively quick.


On Linux there is the command line tool md5sum.

You can call it like this:

echo "test" | md5sum



  • Still that is only useful if I have a small quantity – BataBo Feb 4 '19 at 16:58
  • 1
    @BataBo you could try tricks by combining md5sum with xargs and GNU parallel but your post was referring to any OS environment so my response was also generic. – knb Feb 5 '19 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.