elligator2

package
v0.0.0-...-375edae Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package elligator2 implements the Elligator2 mapping.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EdwardsFlavor

func EdwardsFlavor(r *field.Element) *edwards25519.Point

EdwardsFlavor calculates and returns the Edwards point corresponding to the representative r (Elligator2 direct map).

func MontgomeryFlavor

func MontgomeryFlavor(r *field.Element) (*field.Element, *field.Element)

MontgomeryFlavor calculates the Montgomery point corresponding to the representative r, returning the u and v coordinates (Elligator2 direct map).

Types

This section is empty.

Jump to

Keyboard shortcuts

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