fernet/fernet-rb

verify should take an option for binary (t/f)

Closed this issue · 0 comments

Fernet.verify(secret, binary: true)

Would assume the payload is binary and not try to UTF-8 encode it on deserialization.

The default is binary: false, which encodes as UTF-8 before returning to the user.