crypto

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	INOXD_MASTER_KEYSET_ENCODING = base64.StdEncoding

	ErrInoxdMasterKeysetEnvVarNotFound    = errors.New(unitenv.INOXD_MASTER_KEYSET_ENV_VARNAME + " is not set")
	ErrInoxdMasterKeysetEnvVarSetButEmpty = errors.New(unitenv.INOXD_MASTER_KEYSET_ENV_VARNAME + " is set but is empty")
)

Functions

func InoxdMasterKeySetHandleFrom

func InoxdMasterKeySetHandleFrom(serializedKeyset string) (*keyset.Handle, error)

func LoadInoxdMasterKeysetFromEnv

func LoadInoxdMasterKeysetFromEnv() (*keyset.Handle, error)

Types

type JSONSerializedKeySet

type JSONSerializedKeySet string

func GenerateRandomInoxdMasterKeyset

func GenerateRandomInoxdMasterKeyset() JSONSerializedKeySet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL