Crypto.PubKey.ECC.Generate

crypto-pubkey-0.2.8: Public Key cryptography

Safe Haskell | None
Language | Haskell98

Crypto.PubKey.ECC.Generate

Description

Signature generation.

Synopsis

- generateQ :: Curve -> Integer -> Point
- generate :: CPRG g => g -> Curve -> ((PublicKey, PrivateKey), g)

# Documentation

generateQ :: Curve -> Integer -> Point #

Generate Q given d.

WARNING: Vulnerable to timing attacks.

generate #

Arguments

:: CPRG g |
=> g | CPRG
-> Curve | Elliptic Curve
-> ((PublicKey, PrivateKey), g) |

Generate a pair of (private, public) key.

WARNING: Vulnerable to timing attacks.