You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix non-propagated error in Branca.encode (@brycx#12)
Fix issue with compliance to the specification: Allow empty input when encoding & decoding tokens (@brycx#13)
MSRV bumped to 1.41
(Breaking change): Correctly handle binary data (@ganwell#10 (fix by @brycx)). Previously, non-UTF8 encoded tokens would not decode to the correct payload if the token was created with a different Branca implementation.
(Security): Correctly return error on invalid base62 tokens. Previously, this would panic whereas documentation would indicate an error was supposed to be returned (@brycx7da3274)
Document that encode() panics if it fails to generate random bytes for the nonce.