Documentation ¶
Index ¶
- func PrivateFromEd25519(privateKey *[32]byte) (x25519Private [32]byte)
- func Public(seed *[32]byte) (pubkey [32]byte)
- func PublicFromEd25519(publicKey *[32]byte) (x25519Public [32]byte, ok bool)
- func RandUniform() (_ [32]byte, _ [32]byte, _ [32]byte, err error)
- func Shared(secret, public *[32]byte) (shared [32]byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrivateFromEd25519 ¶
PrivateFromEd25519 - Converts ed25519 to X25519 private key.
func PublicFromEd25519 ¶
PublicFromEd25519 - Converts ed25519 to X25519 public key.
func RandUniform ¶
RandUniform - Generates a secret key whose corresponding public key has a uniform representative.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.