Copyright | (c) Marcel Fourné 20[09..] |
---|---|
License | BSD3 |
Maintainer | Marcel Fourné (haskell@marcelfourne.de) |
Stability | experimental |
Portability | Good |
Safe Haskell | Trustworthy |
Language | Haskell98 |
basic ECDSA, probably insecure if used improperly (really needs random k), for testing only
Synopsis
- basicecdsa :: ByteString -> Integer -> Integer -> Either String (Integer, Integer)
- basicecdsaVerify :: ECPF Integer -> (Integer, Integer) -> ByteString -> Bool
- data ECPF a
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