openssl SHA1 HMAC
March 05, 2019
To create an HMAC-SHA1
:
$ echo -n "string" | openssl sha1 -hmac "shared_secret"
or
$ echo -n "string" | openssl dgst -sha1 -hmac "shared_secret"
To create an HMAC-SHA1
:
$ echo -n "string" | openssl sha1 -hmac "shared_secret"
or
$ echo -n "string" | openssl dgst -sha1 -hmac "shared_secret"