Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Curve = &KoblitzCurve{secp256k1.S256()} FieldOrder = common.HexToBigInt("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f") GeneratorOrder = common.HexToBigInt("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141") // scalar to the power of this is like square root, eg. y^sqRoot = y^0.5 (if it exists) SqRoot = common.HexToBigInt("3fffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff0c") G = common.Point{X: *Curve.Gx, Y: *Curve.Gy} H = *HashToPoint(G.X.Bytes()) )
Functions ¶
func HashToPoint ¶
Types ¶
type KoblitzCurve ¶
type KoblitzCurve struct {
*secp256k1.KoblitzCurve
}
Click to show internal directories.
Click to hide internal directories.