fernet / fernet-rb

Delicious HMAC Digest(if) authentication and AES-128-CBC encryption
MIT License
89 stars 22 forks source link

Unify errors under a parent class #28

Closed msakrejda closed 10 years ago

msakrejda commented 10 years ago

This makes it easier to rescue all Fernet errors in one place (e.g., when decrypting an encrypted payload as in fernet-rack).

hgmnz commented 10 years ago

Nice, good call. Will merge and bump a minor version.