added support for void * for SHA256/MD5 hashes