Blake2b with key

Blumenthal, Uri - 0553 - MITLL uri at
Tue Oct 8 15:15:22 UTC 2019

Answered my own questions:

$ openssl3 list -mac-algorithms
Provided MACs:
  BLAKE2bMAC @ default
  BLAKE2sMAC @ default
  CMAC @ default
  GMAC @ default
  HMAC @ default
  KMAC128 @ default
  KMAC256 @ default
  Poly1305 @ default
  SipHash @ default
$ echo -n "hello" | openssl3 mac -macopt key:secret blake2bmac


On 10/8/19, 11:03 AM, "Uri Blumenthal" <uri at> wrote:

     >   > Is keyed blake2b supported in openssl-dgst (latest OpenSSL release)?
     >   No, sorry.  It has been added for upcoming OpenSSL 3.0, though.
    Doesn't look like it's there:
    $ openssl3 version
    OpenSSL 3.0.0-dev xx XXX xxxx (Library: OpenSSL 3.0.0-dev xx XXX xxxx)
    $ echo -n "hello" | openssl3 dgst -blake2b512
    BLAKE2b512(stdin)= e4cfa39a3d37be31c59609e807970799caa68a19bfaa15135f165085e01d41a65ba1e1b146aeb6bd0092b49eac214c103ccfa3a365954bbbe52f74a2b3620c94
    $ echo -n "hello" | openssl3 dgst -blake2b512 -mac blake2bmac -macopt key:secret
    Algorithm blake2bmac not found
    Besides, how does one print a list of supported MAC algorithms?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4933 bytes
Desc: not available
URL: <>

More information about the openssl-users mailing list