crypto-pubkey-types-0.4.2.2: 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

ECC Public Point

type PrivateNumber = IntegerSource

ECC Private Number

toPublicKey :: KeyPair -> PublicKeySource

Public key of a ECDSA Key pair.

toPrivateKey :: KeyPair -> PrivateKeySource

Private key of a ECDSA Key pair.