Registry / crypto / hako-branca

hako-branca

JSON →
library0.0.0-20200807062402-6052ac720505gogounverified

Package branca implements the branca token specification for secure token generation.

go get github.com/hako/branca
INSTALL
IMPORT
SIG · HAKO-BRANCA
H
hako-branca
cryptogov0.0.0-20200807062402-6052ac720505
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

branca
github.com/hako/branca

Encodes a string into a secure Branca token.

package main import ( "fmt" "github.com/hako/branca" ) func main() { b := branca.NewBranca("supersecretkeyyoushouldnotcommit") token, _ := b.EncodeToString("hello world") fmt.Println(token) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200807062402-6052ac720505latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
hako-branca — go get hako-branca · libregistry