crypto-pubkey-types-0.4.2.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 Source

Represent a ECDSA signature namely R and S.

Constructors

Signature 

Fields

sign_r :: Integer

ECDSA r

sign_s :: Integer

ECDSA s

type PublicPoint = Point Source

ECC Public Point

type PrivateNumber = Integer Source

ECC Private Number

toPublicKey :: KeyPair -> PublicKey Source

Public key of a ECDSA Key pair.

toPrivateKey :: KeyPair -> PrivateKey Source

Private key of a ECDSA Key pair.