You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
clair/vendor/github.com/fernet/fernet-go
jgsqware d9d5b058e5
replace GoDep by Glide
8 years ago
..
cmd api: implement fernet encryption of pagination tokens 8 years ago
License api: implement fernet encryption of pagination tokens 8 years ago
Readme api: implement fernet encryption of pagination tokens 8 years ago
example_test.go replace GoDep by Glide 8 years ago
fernet.go api: implement fernet encryption of pagination tokens 8 years ago
fernet_test.go replace GoDep by Glide 8 years ago
generate.json api: implement fernet encryption of pagination tokens 8 years ago
invalid.json api: implement fernet encryption of pagination tokens 8 years ago
key.go api: implement fernet encryption of pagination tokens 8 years ago
key_test.go replace GoDep by Glide 8 years ago
verify.json api: implement fernet encryption of pagination tokens 8 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.