/gokey

Package to Generate Keys

Primary LanguageGo

GoKey

Package based on Unkey's Article around key generation

Installation


go get -u github.com/stneto1/gokey

Usage

package main

import (
    "log"

    "github.com/stneto1/gokey"
)

func main() {
    key := gokey.MustGenerateKey("sk", 10)
    log.Println("Generated key", key) // Generated key sk_550e8400e2
}