eccrypto-0.2.2: Elliptic Curve Cryptography for Haskell

Copyright(c) Marcel Fourné 20[09..]
LicenseBSD3
MaintainerMarcel Fourné (haskell@marcelfourne.de)
Stabilityexperimental
PortabilityGood
Safe HaskellSafe
LanguageHaskell98

Crypto.ECC.Weierstrass.ECDH

Description

basic ECDH, for testing only

Synopsis

Documentation

basicecdh :: EC Integer -> ECPF Integer -> Integer -> Integer Source #

basic ecdh for testing

data EC a Source #

all Elliptic Curves, the parameters being the BitLength L, A, B and P

Instances
Eq (EC a) Source # 
Instance details

Defined in Crypto.ECC.Weierstrass.Internal.Curvemath

Methods

(==) :: EC a -> EC a -> Bool #

(/=) :: EC a -> EC a -> Bool #

Show (EC a) Source # 
Instance details

Defined in Crypto.ECC.Weierstrass.Internal.Curvemath

Methods

showsPrec :: Int -> EC a -> ShowS #

show :: EC a -> String #

showList :: [EC a] -> ShowS #

data ECPF a Source #

data of Elliptic Curve Points

Instances
Eq (ECPF a) Source # 
Instance details

Defined in Crypto.ECC.Weierstrass.Internal.Curvemath

Methods

(==) :: ECPF a -> ECPF a -> Bool #

(/=) :: ECPF a -> ECPF a -> Bool #

Show (ECPF a) Source # 
Instance details

Defined in Crypto.ECC.Weierstrass.Internal.Curvemath

Methods

showsPrec :: Int -> ECPF a -> ShowS #

show :: ECPF a -> String #

showList :: [ECPF a] -> ShowS #