shared

package
v0.0.0-...-94b69c0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContentTypeHpke = "application/hpke"
)

Variables

This section is empty.

Functions

func FromBase32

func FromBase32(s string) ([]byte, error)

func ToBase32

func ToBase32(b []byte) string

Types

type HpkePrivateKey

type HpkePrivateKey string

HpkePrivateKey is a base32 representation of a private key of a KEM in HPKE.

type HpkePublicKey

type HpkePublicKey string

HpkePublicKey is a base32 representation of a public key of a KEM in HPKE.

Jump to

Keyboard shortcuts

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