crypto

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSuite

func GetSuite(name string, opts config.CryptoSuiteOpts) (api.CryptoSuite, error)

func RandomBytes

func RandomBytes(length int) ([]byte, error)

RandomBytes returns slice of random bytes of presented size

func Register

func Register(name string, cs api.CryptoSuite)

Register must be called in init function in suite package (ex. see ecdsa package)

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