Relative Content

Tag Archive for c++hashcryptographysha256crypto++

generate SHA256 hash as binary from string (Crypto++)

Basically I have a relatively short array of binary data (characters are not necessarily printable). I need to generate SHA2-256 hash for this array using Crypto++ library. Output hash must be 32 bytes of binary data, I do not need 64 bytes HEX string representation!