generate sha256 with openssl and C++
- by Stanislav Palatnik
Hello,
I'm looking to create a hash with sha256 using openssl and C++. I know there's a similar post about this here:
http://stackoverflow.com/questions/918676/generate-sha-hash-in-openssl, but I'm looking to specifically create sha256.
UPDATE:
Seems to be a problem witht he include paths. It can't find any openssl functions even though I included
#include "openssl/sha.h"
and I included the paths in my build
-I/opt/ssl/include/ -L/opt/ssl/lib/ -lcrypto