# Functions
NewSignature instantiates a new signature given some r and s values.
ParseDERSignature parses a signature in DER format for the curve type `curve` into a Signature type.
ParseSignature parses a signature in BER format for the curve type `curve' into a Signature type, performing some basic sanity checks.
RecoverCompact verifies the compact signature "signature" of "hash" for the Koblitz curve in "curve".
Sign generates an ECDSA signature over the secp256k1 curve for the provided hash (which should be the result of hashing a larger message) using the given private key.
SignCompact produces a compact signature of the data in hash with the given private key on the given koblitz curve.