Skip to content

Instantly share code, notes, and snippets.

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