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