Blake2b with key

van Hemel, Wouter J M wouter.van.hemel at
Tue Oct 8 13:44:23 UTC 2019


I'm trying to create a blake2b512 digest with a key. I've made an attempt to follow the source code and I'm assuming the algorithm's name for blake2b MAC is blake2bmac, though I have tried different values. I don't seem to be able to create a valid checksum:

$ openssl version; echo -n "hello" | openssl dgst -blake2b512 -mac blake2bmac -macopt key:secret
OpenSSL 1.1.1d  10 Sep 2019
Algorithm blake2bmac not found

Is keyed blake2b supported in openssl-dgst (latest OpenSSL release)?


More information about the openssl-users mailing list