nick-nuti / Backup-Program

2 stars 0 forks source link

OpenSSL for SHA256 #21

Closed mster closed 2 years ago

mster commented 3 years ago

REF #19

For our Merkle Tree implementation, we will need a way to generate hashes for each node on the tree.

We can use the SHA256 algorithm to generate these hashes. The most portable way to do so seems to be with the OpenSSL C++ library. https://www.openssl.org/docs/

There are a few ways to do so with OpenSSL, but using the EVP interface seems to best practice.