SignDSA signs an arbitrary length hash (which should be the result of hashing a larger message) using the private key, priv.
SignECDSA signs an arbitrary length hash (which should be the result of hashing a larger message) using the private key, priv.