Need help with fernet-go?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

134 Stars 20 Forks MIT License 34 Commits 9 Opened issues


Fernet generates and verifies HMAC-based authentication tokens.

Services available


Need anything else?

Contributors list

Fernet takes a user-provided message (an arbitrary sequence of bytes), a key (256 bits), and the current time, and produces a token, which contains the message in a form that can't be read or altered without the key.

This package is compatible with the other implementations at They can exchange tokens freely among each other.



$ go get

For more information and background, see the Fernet spec at

Fernet is distributed under the terms of the MIT license. See the License file for details.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.