Blake2b with key

Richard Levitte levitte at
Tue Oct 8 14:48:14 UTC 2019

On Tue, 08 Oct 2019 15:44:23 +0200,
van Hemel, Wouter J M wrote:
> Hello,
> 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)?

No, sorry.  It has been added for upcoming OpenSSL 3.0, though.


Richard Levitte         levitte at
OpenSSL Project

More information about the openssl-users mailing list