So i'm making this program to generate mock data to populate a database and I want my passwords to be in SHA256 for the obvious reasons. Upon looking some stuff up found the openssl/sha.h lib and tried using it - first time using openssl to be honest.
After quite a bit fighting with it I managed to get it running and code the string into sha256, but apparently it's in base64. So far had no luck turning it back into an ASCII string.
Hopefully someone can provide some pointers on how to get this working