Skip to content

Instantly share code, notes, and snippets.

@calvincodes
Created August 14, 2019 17:39
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 calvincodes/d2f9440297cae20bfdc6c44798329c46 to your computer and use it in GitHub Desktop.
Save calvincodes/d2f9440297cae20bfdc6c44798329c46 to your computer and use it in GitHub Desktop.
Describes Step 4 to 5 of JWT creation
val hash = hash_alg(data, secret_key) // Step 4
val signature = base64UrlEncode(hash) // Step 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment