-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need help simplifying this to hash lines of text file #2
Comments
Hi, of course you can! Notice this line: Line 194 in adf4de7
|
I thought I tried that earlier, ill try it again. Again, Thanks for the help. |
Im real close, but still cigar. I added these 3 lines directly above the line 194 you refer to above: I would expect the hash from both of those to match exactly. BTW: If I dont cast buff to (BYTE *) then I get a compile error. Once I have this working with a simple string, ill be able to take it from there. |
I have some progress. I seem to need to better understand variable pointers in c++. |
Hello, may I ask for your help? After I modify the code, I get an incorrect hash value.
|
I was trying to use your code as a starting point to make a sha256 cuda hasher that takes lines from stdin (Or any text file) and hashes each line as a job (Outputing HASH and Original Line in the output separated by a space or other delimiter)
Your program is so close to doing this (You hash filesystem files), but my c++ is weak. Can you assist me? The way you read the files in for the –f switch, but instead of getting the file data from get_file_data, could you just hash the string?
The text was updated successfully, but these errors were encountered: