Documentation
¶
Overview ¶
Package dualec implements the insecure, broken Dual_EC_DRBG algorithm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a Dual_EC_DRBG instance using the default parameters on a particular elliptic curve.
It generates seeds using the provider Reader and hash function.
Types ¶
type Curve ¶
type Curve interface { // Generator returns the curve's generator point. Generator() *Point // NewPoint validates and creates a Point from its encoding. NewPoint([]byte) (*Point, error) // ScalarMult performs the Point with a scalar, returning the // resulting Point. ScalarMult(*Point, []byte) (*Point, error) // contains filtered or unexported methods }
Curve is a NIST prime curve.
Click to show internal directories.
Click to hide internal directories.