crypto-pubkey-types-0.4.3: Generic cryptography Public keys algorithm types

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
StabilityExperimental
PortabilityExcellent
Safe HaskellSafe-Inferred
LanguageHaskell98

Crypto.Types.PubKey.ECDSA

Description

Synopsis

Documentation

data Signature

Represent a ECDSA signature namely R and S.

Constructors

Signature 

Fields

sign_r :: Integer

ECDSA r

sign_s :: Integer

ECDSA s

type PublicPoint = Point

ECC Public Point

type PrivateNumber = Integer

ECC Private Number

toPublicKey :: KeyPair -> PublicKey

Public key of a ECDSA Key pair.

toPrivateKey :: KeyPair -> PrivateKey

Private key of a ECDSA Key pair.