Skip to content

bmizerany/fernet

 
 

Repository files navigation

Fernet takes a user-provided *message* (an arbitrary sequence of
bytes), a *key* (256 bits of entropy), 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 Ruby implementation at
https://github.com/hgmnz/fernet. They can exchange tokens
freely in both directions.

Documentation: http://godoc.org/github.com/kr/fernet


INSTALL

	$ go get github.com/kr/fernet


For more information and background, see the original Fernet
project at https://github.com/hgmnz/fernet.

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

About

Fernet generates and verifies HMAC-based authentication tokens.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%