eccrypto-0.2.3.1: Elliptic Curve Cryptography for Haskell
Copyright(c) Marcel Fourné 20[09..]
LicenseBSD3
MaintainerMarcel Fourné (haskell@marcelfourne.de)
Stabilityexperimental
PortabilityGood
Safe HaskellTrustworthy
LanguageHaskell2010

Crypto.ECC.Weierstrass.ECDSA

Description

basic ECDSA, probably insecure if used improperly (really needs random k), for testing only

Synopsis

Documentation

basicecdsa :: ByteString -> Integer -> Integer -> Either String (Integer, Integer) Source #

basic ecdsa for testing

basicecdsaVerify :: ECPF Integer -> (Integer, Integer) -> ByteString -> Bool Source #

basic ECDSA verification

data ECPF a Source #

data of Elliptic Curve Points

Instances

Instances details
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 #

Eq (ECPF a) Source # 
Instance details

Defined in Crypto.ECC.Weierstrass.Internal.Curvemath

Methods

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

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