paragonie / paseto

Platform-Agnostic Security Tokens
https://paseto.io
Other
3.25k stars 108 forks source link

Pre-1.0.0 Review #73

Closed paragonie-scott closed 6 years ago

paragonie-scott commented 6 years ago

This implements the feedback we've received from the RFC review process. It makes the footer optional in the Protocol API and changes the documentation to reflect this not being required.

If you pass a footer to the third argument, it will be evaluated with strict constant-time equality. Otherwise, it will strip it off the token and decoded from base64.