Call crypto.RegisterHash to be compatible with crypto/md5 and crypto/sha1