crypto

package
v0.0.0-...-d465f1b Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPubKey

func GetPubKey() (*[33]byte, error)

GetPubKey derives the oracle public key from the private key

func RetrieveKey

func RetrieveKey() *[32]byte

RetrieveKey retreives the oracle's private key from LockedBuffer

func StoreKey

func StoreKey(key *[32]byte) error

StoreKey uses LockedBuffer to encrypt private key in memory

Types

This section is empty.

Jump to

Keyboard shortcuts

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