crypto

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckKey

func CheckKey(pub *PublicKey) bool

func CheckRingSignature

func CheckRingSignature(prefixHash Hash, keyImage KeyImage, pubs []PublicKey, signature *Signature) bool

CheckRingSignature --

func GenerateRingSignature

func GenerateRingSignature(prefixHash Hash, keyImage KeyImage, pubs []PublicKey, secretKey SecretKey, secIndex uint) (*Signature, error)

GenerateRingSignature --

func KeyToPublicKey

func KeyToPublicKey(key Key) (publicKey PublicKey)

func KeyToSecretKey

func KeyToSecretKey(key Key) (secretKey SecretKey)

func PublicKeyToKey

func PublicKeyToKey(publicKey PublicKey) (key Key)

func SecretKeyToKey

func SecretKeyToKey(secretKey SecretKey) (key Key)

Types

This section is empty.

Jump to

Keyboard shortcuts

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