I’d like to be able to call a cryptographic hashing function like sha256. Actually, it doesn’t need to be secure, so even sha-1 or md5 would be fine. Is there one in the VCV runtime I can call? If so, what header needs to be included?
OpenSSL is included in the Rack SDK.
#include <openssl/sha.h> unsigned char hash[SHA256_DIGEST_LENGTH]; SHA256_CTX sha256; SHA256_Init(&sha256); SHA256_Update(&sha256, str, strLen); SHA256_Final(hash, &sha256);
Ah, very cool. Thank you!