package
0.0.0-20201025151115-27e67ee9d143
Repository: https://github.com/studyzy/crypto.git
Documentation: pkg.go.dev
# Functions
GenerateKey returns a public/private key pair.
Marshal converts a point into the uncompressed form specified in section 4.3.6 of ANSI X9.62.
P224 returns a Curve which implements P-224 (see FIPS 186-3, section D.2.2).
P256 returns a Curve which implements NIST P-256 (FIPS 186-3, section D.2.3), also known as secp256r1 or prime256v1.
P384 returns a Curve which implements NIST P-384 (FIPS 186-3, section D.2.4), also known as secp384r1.
P521 returns a Curve which implements NIST P-521 (FIPS 186-3, section D.2.5), also known as secp521r1.
Unmarshal converts a point, serialized by Marshal, into an x, y pair.
No description provided by the author
# Structs
CurveParams contains the parameters of an elliptic curve and also provides a generic, non-constant time implementation of Curve.
# Interfaces
A Curve represents a short-form Weierstrass curve with a=-3.