This is my implementaion of SHA-256 from NIST FIPS 180-4.
➜ make
to build.
➜ ./sha256 abc
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
➜ ./sha256 file test.txt
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
This is my implementaion of SHA-256 from NIST FIPS 180-4.
➜ make
to build.
➜ ./sha256 abc
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
➜ ./sha256 file test.txt
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad