This abstract class allows implementing hashes backed by OpenSSL with very few lines of code, see next commit.