C++ where can i get the code example sha256 openssl in C++
I search everywhere, i only get part of the code.
I can do it by at my terminal typing this
echo -n "compute sha256" | openssl sha256
However, i want to perform sha256 in .cpp file, how can i do it.
I know i need to include openssl library.