Documentation
¶
Index ¶
- func CheckKey(pub *PublicKey) bool
- func CheckRingSignature(prefixHash Hash, keyImage KeyImage, pubs []PublicKey, signature *Signature) bool
- func GenerateRingSignature(prefixHash Hash, keyImage KeyImage, pubs []PublicKey, secretKey SecretKey, ...) (*Signature, error)
- func KeyToPublicKey(key Key) (publicKey PublicKey)
- func KeyToSecretKey(key Key) (secretKey SecretKey)
- func PublicKeyToKey(publicKey PublicKey) (key Key)
- func SecretKeyToKey(secretKey SecretKey) (key Key)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.