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

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

Crypto.Types.PubKey.ECDSA

Description

 

Synopsis

Documentation

data Signature Source

Represent a ECDSA signature namely R and S.

Constructors

Signature 

Fields

sign_r :: Integer

ECDSA r

sign_s :: Integer

ECDSA s

type PublicPoint = PointSource

ECDSA Public Point, usually embedded in ECDSA Public Key.

type PrivateNumber = IntegerSource

ECDSA Private Number, usually embedded in ECDSA Private Key.

toPublicKey :: KeyPair -> PublicKeySource

Public key of a ECDSA Key pair.

toPrivateKey :: KeyPair -> PrivateKeySource

Private key of a ECDSA Key pair.