crypto

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 2 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StandaloneCrypto

type StandaloneCrypto struct {
}

func CreateCrypto

func CreateCrypto() *StandaloneCrypto

func (*StandaloneCrypto) GenerateHash

func (standaloneCrypto *StandaloneCrypto) GenerateHash(data string) string

func (*StandaloneCrypto) GenerateID

func (standaloneCrypto *StandaloneCrypto) GenerateID(prvKey string) (string, error)

func (*StandaloneCrypto) GeneratePrivateKey

func (standaloneCrypto *StandaloneCrypto) GeneratePrivateKey() (string, error)

func (*StandaloneCrypto) GenerateSignature

func (standaloneCrypto *StandaloneCrypto) GenerateSignature(data string, prvKey string) (string, error)

func (*StandaloneCrypto) RecoverID

func (standaloneCrypto *StandaloneCrypto) RecoverID(data string, signature string) (string, error)

Jump to

Keyboard shortcuts

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