Created
June 16, 2019 19:33
-
-
Save jaypowley/7cfda1c49d8b43ae674baf73d61aaaee to your computer and use it in GitHub Desktop.
F# script to quickly create a HMACSHA256 Hash Key
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
open System | |
open System.Security.Cryptography | |
let getHashKey = | |
let hmac = new HMACSHA256() | |
printfn "%s" (Convert.ToBase64String(hmac.Key)) | |
getHashKey |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment