http://stackoverflow.com/questions/918676/generate-sha-hash-in-openssl
Replace SHA1 with SHA256. Replace 20 with SHA256_DIGEST_LENGTH. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Reid Thompson Sent: Tuesday, October 06, 2009 10:18 To: [email protected] Subject: sha-256 program example Could someone point me to an example C program, docs that show how to generate a sha-256 digest for a buffer? The buffer will be less than 128 chars. Thanks, reid ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
