Hello there,
The part in my program I'm stuck in gets a string, turns it to binary, pads the message and then divides it like Sha 256 does. Then, computes the hash with logical operations and bitwise operations.
Everything goes smooth and the 256-bit digest is saved to a file called "hash", but it's not what I should get.
For example: for string abc I should get:
ba7816bf 8f01cfea 414140de 5dae2223 b00361a3 96177a9c b410ff61 f20015ad
But for some reason I don't.