Sebastiaan van Stijn 1e48b64538 vendor: github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee 2 years ago
..
License 27749659d5 Bump SwarmKit to 831df679a0b8a21b4dccd5791667d030642de7ff 7 years ago
Readme 27749659d5 Bump SwarmKit to 831df679a0b8a21b4dccd5791667d030642de7ff 7 years ago
fernet.go 1e48b64538 vendor: github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee 2 years ago
generate.json e5d28115ee vendor: regenerate 3 years ago
invalid.json 1e48b64538 vendor: github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee 2 years ago
key.go 27749659d5 Bump SwarmKit to 831df679a0b8a21b4dccd5791667d030642de7ff 7 years ago
verify.json e5d28115ee vendor: regenerate 3 years ago

Readme

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
https://github.com/fernet. They can exchange tokens freely among
each other.

Documentation: http://godoc.org/github.com/fernet/fernet-go


INSTALL

$ go get github.com/fernet/fernet-go


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

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