Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
ethsign :: PrivateKey -> Digest Keccak_256 -> Signature Source #
We don't want to introduce the machinery needed to sign with a random nonce, so we just use the same nonce every time (420). This is obviously very insecure, but fine for testing purposes.