Skip to content

go-web/tokenizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tokenizer

The tokenizer package provides encoding for tokens that can carry user data in a secure way.

Tokens generated with this tokenizer consist of:

token = base64url(iv,aes(pkcs7(ts,data)),hmac)

All tokens embed the time they were created, and that information is available when the token is decoded. Time is always in UTC, with 1s precision.

GoDoc

Build Status

Usage

Download:

go get github.com/go-web/tokenizer

See the example for details.

About

Package tokenizer provides encoding for tokens that can carry user data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages