sign

package
v0.0.0-...-505ff0c Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSignatureMismatch = errors.New("ErrSignatureMismatch")

Functions

func GenerateKeyFromSeed

func GenerateKeyFromSeed(seed string, password string) ([]byte, []byte)

func Sign

func Sign(key []byte, password string, msg []byte) ([]byte, error)

func VerifyAndReturn

func VerifyAndReturn(key []byte, data io.Reader) ([]byte, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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