hash_to_point

package
v0.0.0-...-a01cb7b Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

hash to ecc point using Try-and-Increment algorithm

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultCurveType = elliptic.P256()
	DefaultTryTimes  = 100
)

Functions

func HashToPoint

func HashToPoint(t *big.Int, tryTimes int) (*big.Int, *big.Int, error)

HashToPoint hash a number to an ecc point, return (x,y)

Types

This section is empty.

Jump to

Keyboard shortcuts

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