packages feed

secp256k1 0.1.6 → 0.1.7

raw patch · 2 files changed

+3/−1 lines, 2 files

Files

secp256k1.cabal view
@@ -1,5 +1,5 @@ name:                secp256k1-version:             0.1.6+version:             0.1.7 synopsis:            secp256k1 bindings for Haskell description:         Please see README.md homepage:            http://github.com/haskoin/secp256k1#readme
src/Crypto/Secp256k1.hs view
@@ -207,9 +207,11 @@ getSecKey :: SecKey -> ByteString getSecKey (SecKey fk) = getSecKey32 $ unsafePerformIO $ withForeignPtr fk peek +-- | Get 64-byte internal public key representation. getPubKey :: PubKey -> ByteString getPubKey (PubKey fp) = getPubKey64 $ unsafePerformIO $ withForeignPtr fp peek +-- | Get 64-byte internal signature representation. getSig :: Sig -> ByteString getSig (Sig fg) = getSig64 $ unsafePerformIO $ withForeignPtr fg peek