I have a large list of plaintext passwords stored in a file pwds.txt and would like to obtain the hashed version of these passwords under various different hash algorithms.
I want one file for each hash algorithm.
As a minimum I would like to obtain hashes under MD5, SHA1, SHA256, (with and without salts) and bcrypt.
Is there a simple way of obtaining this, without too much scripting?
I thought about leveraging some of the existing password cracking tools, like hashcat or john, but unfortunately (to the best of my knowledge) they all start with the assumption that you already have a list of hashed passwords and that you now want to crack them.
Basically, I want the opposite!
I have the plaintext passwords, and want to create the hashed passwords.
I have been unable to come up with a clever combination of command line options (for these two programs) that trick them to output a list of hashes from plaintexts.
Note
I have already created a short PHP-script that achieves this for smaller files, but it runs out of memory for the size of password file I need it for.