hmac

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HS256

type HS256 struct{}

func (*HS256) GenerateKeyPair

func (h *HS256) GenerateKeyPair() (*keypair.KeyPair, error)

func (*HS256) GenerateSecret

func (h *HS256) GenerateSecret() ([]byte, error)

type HS384

type HS384 struct{}

func (*HS384) GenerateKeyPair

func (h *HS384) GenerateKeyPair() (*keypair.KeyPair, error)

func (*HS384) GenerateSecret

func (h *HS384) GenerateSecret() ([]byte, error)

type HS512

type HS512 struct{}

func (*HS512) GenerateKeyPair

func (h *HS512) GenerateKeyPair() (*keypair.KeyPair, error)

func (*HS512) GenerateSecret

func (h *HS512) GenerateSecret() ([]byte, error)

Jump to

Keyboard shortcuts

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