Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnsafeBrokenRepresentativeToPublicKey ¶
func UnsafeBrokenRepresentativeToPublicKey(publicKey, representative *[32]byte)
UnsafeBrokenRepresentativeToPublicKey converts a uniform representative value for a curve25519 public key, as produced by UnsafeBrokenScalarBaseMult, to a curve25519 public key.
func UnsafeBrokenScalarBaseMult ¶
UnsafeBrokenScalarBaseMult computes a curve25519 public key from a private key and also a uniform representative for that public key. Note that this function will fail and return false for about half of private keys. See http://elligator.cr.yp.to/elligator-20130828.pdf.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.