ecparam: Creating objects of class ECPARAM

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/EllipticCurves.R

Description

This function returns an object of S4-class ECPARAM, that does contain the parametrization of an elliptic curve.

Usage

1
ecparam(p, a, b)

Arguments

p

integer

a

integer

b

integer

Value

An object of S4-class ECPARAM

Author(s)

Bernhard Pfaff

References

https://en.bitcoin.it/wiki/Secp256k1

See Also

Other EllipticCurve: ECPARAM-class, ECPOINT-class, EcparamOrNull-class, containsPoint(), ecoperators, ecpoint(), isNull()

Examples

1
2
3
4
5
p <- "0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F"
b <- "0x0000000000000000000000000000000000000000000000000000000000000007"
a <- "0x0000000000000000000000000000000000000000000000000000000000000000"
curve256 <- ecparam(p, a, b)
curve256

rbch documentation built on Jan. 11, 2022, 1:06 a.m.

Related to ecparam in rbch...