go-keychain – github.com/keybase/go-keychain Index | Files | Directories

package keychain

import "github.com/keybase/go-keychain"

Index

Functions

func RandBytes

func RandBytes(length int) ([]byte, error)

RandBytes returns random bytes of length

func RandomID

func RandomID(prefix string) (string, error)

RandomID returns random ID (base32) string with prefix, using 256 bits as recommended by tptacek: https://gist.github.com/tqbf/be58d2d39690c3b366ad

Source Files

util.go

Directories

PathSynopsis
secretservice
Version
v0.0.1 (latest)
Published
Feb 27, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
now

Tools for package owners.