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.

1 Answer 1


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, 2019 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, 2019 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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