09-05-2016, 09:19 PM
(This post was last modified: 09-05-2016, 09:27 PM by procrustes.)
(09-05-2016, 09:40 AM)atom Wrote: You can use tools/test.pl in passthrough mode to generate hashes. However the tool is designed for unit-tests, not to run fast.
If you want to print out hashes calculated that makes sense only for slow hashes and is therefore only available for that. In such a case you can use a hook to do that, but you'd need to add a small patch to the host code.
Cool, maybe I'll try that out. The path I am currently going down is using hashcat/hashcat_utils for phrase generation and piping the phrases to my own python program. My plan is to buffer a list of inputs from hashcat_utils and then hash them in parallel with pycuda. I am hoping to just use a good reference implementation of SHA256 and run several instances in parallel with cuda.
If you think piping hashes to stdout only makes sense for slow hashes, wouldn't piping unhashed phrases make even less sense because you can generate unhashed phrases way faster than you can generate hashed phrases? So wouldn't a feature to pipe fast hashes of phrases at least make more sense than all the currently existing features for piping unhashed phrases?