bkerler / opencl_brute

MD5,SHA1,SHA256,SHA512,HMAC,PBKDF2,SCrypt Bruteforcing tools using OpenCL (GPU, yay!) and Python
MIT License
163 stars 44 forks source link

Increasing SHA256 hash length #3

Closed likeaj6 closed 6 years ago

likeaj6 commented 6 years ago

#SHA256 does support longer lengths, but inputbuffer and hash are limited to 32 chars Is there any way for me to edit the code to compute hashes of longer lengths (>32 chars)? If it helps, I only ever need to calculate one hash at a time, as opposed to an array of hashes.

Very new to OpenCL so appreciate any guidance.

bkerler commented 6 years ago

Commit 94d3ea5 shows how to increase hash size. Now upgraded to 64 chars :)

jleo commented 5 years ago

Hello,thanks for creating this kernal! Can i make it support even longer by changing 64 to a larger number?like 80 or 120