Skip to content

Instantly share code, notes, and snippets.

@jaypowley
Created June 16, 2019 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaypowley/7cfda1c49d8b43ae674baf73d61aaaee to your computer and use it in GitHub Desktop.
Save jaypowley/7cfda1c49d8b43ae674baf73d61aaaee to your computer and use it in GitHub Desktop.
F# script to quickly create a HMACSHA256 Hash Key
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