crypto-pubkey-0.2.8: Public Key cryptography

Safe HaskellNone
LanguageHaskell98

Crypto.PubKey.ECC.Generate

Description

Signature generation.

Synopsis

Documentation

generateQ :: Curve -> Integer -> Point Source

Generate Q given d.

WARNING: Vulnerable to timing attacks.

generate Source

Arguments

:: CPRG g 
=> g

CPRG

-> Curve

Elliptic Curve

-> ((PublicKey, PrivateKey), g) 

Generate a pair of (private, public) key.

WARNING: Vulnerable to timing attacks.