Skip to content

Instantly share code, notes, and snippets.

@joshuakfarrar
Created July 22, 2014 14:28
Show Gist options
  • Save joshuakfarrar/6eb53a98e8a1e06d13e1 to your computer and use it in GitHub Desktop.
Save joshuakfarrar/6eb53a98e8a1e06d13e1 to your computer and use it in GitHub Desktop.
JWS payload message: Hello world!
JWS header: {"alg":"HS256","cty":"text\/plain"}
HMAC key: a0a2abd8-6162-41c3-83d6-1cf559b46afc
Serialised JWS object: eyJhbGciOiJIUzI1NiIsImN0eSI6InRleHRcL3BsYWluIn0.SGVsbG8gd29ybGQh.nvg_EuyKXSiDGl9dzyDe6MT94218sSRjWFHkKbgzsB8
JWS object successfully parsed
Verified JWS signature!
Recovered payload message: Hello world!
Process finished with exit code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment