Closed giovannipizzi closed 3 years ago
SHA1 seems more or less as fast as MD5, and ~2-3x faster than SHA1. For this reason (and to have at least two algorithms, also needed in tests) I am adding support to SHA1 as well in 2d87757.
But for performance reasons I think one should strive to always use the same (default SHA256) as during import/export it's more efficient if both containers use the same hash type.
This should be easy, we need to decide if it's needed.
To compare speed of different hash algorithms use e.g. the
openssl
cmdline utility:openssl speed md5 sha1 sha256
On my Mac: