static fun signHashed(hash: ByteArray, keyPair: KeyPair): Signature (source)static fun signHashed(hash: Bytes32, keyPair: KeyPair): Signature (source)
Generates an ECDSA signature.
hash - The keccak256 hash of the data to sign.
keyPair - The keypair to sign using.
Return
The signature.