Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

Search Results
Post Author Forum Replies Views Posted [desc]
  Information Thread: SHA256 How to get digest value in `unsigned char` format?
Post: SHA256 How to get digest value in `unsigned char` ...

Hi, First of all: thank you very much for open sourcing OpenCL hashcat! For a custom application based on sha256, I must get the digest value in `unsigned char` format. It's OK with CPU impleme...
LeMoussel hashcat 8 3,498 03-30-2019, 09:29 AM
    Thread: SHA256 How to get digest value in `unsigned char` format?
Post: RE: SHA256 How to get digest value in `Byte` forma...

Note2: rectified, change sha1 to sha256 Example : Code: --     unsigned int r0 = 3369586927, r1 = 250477186, r2 = 3538557605, r3 = 2458147738;     const unsigned int digest32[4] = { r0, r1, r...
LeMoussel hashcat 8 3,498 03-30-2019, 10:43 AM
    Thread: SHA256 How to get digest value in `unsigned char` format?
Post: RE: SHA256 How to get digest value in `unsigned ch...

Thank you very much for your help. In hashcat file: inc_common.cl (https://github.com/hashcat/hashcat/blob/master/OpenCL/inc_common.cl), I find `DECLSPEC u8 v8a_from_v32_S (const u32 v32)` function...
LeMoussel hashcat 8 3,498 03-31-2019, 06:12 PM
    Thread: SHA256 How to get digest value in `unsigned char` format?
Post: RE: SHA256 How to get digest value in `unsigned ch...

Ah OK! But then how to get full hash? Code: -- 4 ints of 8 bytes = 4 * 8 = 32 bytes => u8 digest8[32] --
LeMoussel hashcat 8 3,498 04-01-2019, 08:30 AM
    Thread: SHA256 How to get digest value in `unsigned char` format?
Post: RE: SHA256 How to get digest value in `unsigned ch...

Oups! the code is then Code: -- const u32 digest32[8] = { ctx0.h[0], ctx0.h[1], ctx0.h[2], ctx0.h[3], ctx0.h[4], ctx0.h[5], ctx0.h[6], ctx0.h[7] }     u8 digest8[32]; for (unsigned int i =...
LeMoussel hashcat 8 3,498 04-01-2019, 08:47 AM