crypto-pubkey-0.2.4: Public Key cryptography

Safe HaskellNone

Crypto.PubKey.ECC.Generate

Description

Signature generation.

Synopsis

Documentation

generateQ :: Curve -> Integer -> PointSource

Generate Q given d.

WARNING: Vulnerable to timing attacks.

generateSource

Arguments

:: CPRG g 
=> g

CPRG

-> Curve

Elliptic Curve

-> ((PublicKey, PrivateKey), g) 

Generate a pair of (private, public) key.

WARNING: Vulnerable to timing attacks.