-- |
-- Module      :  Crypto.Ethereum
-- Copyright   :  Alexander Krupenkin 2018
-- License     :  BSD3
--
-- Maintainer  :  mail@akru.me
-- Stability   :  experimental
-- Portability :  unportable
--
-- Ethereum cryptography primitives.
--

module Crypto.Ethereum
    (
    -- * ECDSA crypto key ops
      PrivateKey
    , PublicKey
    , importKey
    , derivePubKey

    -- * Digital Signature Algorithm
    , signMessage

    -- * Hash function
    , keccak256
    ) where

import           Crypto.Ecdsa.Utils        (derivePubKey, importKey)
import           Crypto.Ethereum.Signature (signMessage)
import           Crypto.Ethereum.Utils     (keccak256)
import           Crypto.PubKey.ECC.ECDSA   (PrivateKey, PublicKey)