Skip to content

Instantly share code, notes, and snippets.

@lechidung

lechidung/js

Created Dec 7, 2018
Embed
What would you like to do?
jwt - signature
$encodedContent = base64UrlEncode(header) + “.” + base64UrlEncode(payload);
$signature = hashHmacSHA256($encodedContent);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment