extra25519

package
v0.0.0-...-b59c172 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: BSD-2-Clause, BSD-3-Clause Imports: 1 Imported by: 0

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

func UnsafeBrokenScalarBaseMult(publicKey, representative, privateKey *[32]byte) bool

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.

Jump to

Keyboard shortcuts

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