crypton-0.32: Cryptography Primitives sink
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

:: MonadRandom m 
=> Curve

Elliptic Curve

-> m (PublicKey, PrivateKey) 

Generate a pair of (private, public) key.

WARNING: Vulnerable to timing attacks.