hashcat Forum
How to save all generated hashes to file? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: How to save all generated hashes to file? (/thread-6791.html)



How to save all generated hashes to file? - napulsnik - 08-16-2017

Hello. I have txt file with 5 billion words. I need generate sha256 hashes for each of them. How can I do this with hashcat?


RE: How to save all generated hashes to file? - undeath - 08-16-2017

hashcat does not provide an interface for such a thing.


RE: How to save all generated hashes to file? - MrMeeseeks - 08-17-2017

Bash one liner for the win:
Code:
while read -r line; do echo "$line" | sha256sum | cut -d " " -f 1; done < ./plains > hashes



RE: How to save all generated hashes to file? - undeath - 08-17-2017

ftfy

(08-17-2017, 09:22 AM)MrMeeseeks Wrote: Bash one liner for the win:
Code:
while read -r line; do echo -n "$line" | sha256sum | cut -d " " -f 1; done < ./plains > hashes



RE: How to save all generated hashes to file? - napulsnik - 08-17-2017

Thank you!