Created
July 2, 2021 14:30
-
-
Save hachibu/520aed401da7a5f261013e8cb4e5dc8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
message="$1" | |
key="$2" | |
algorithm="sha1" | |
echo "$message" | base64 | openssl "$algorithm" -hmac "$key" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment