static fun sign(data: ByteArray!, keyPair: KeyPair!): Signature!
(source)
Generates an ECDSA signature.
data
- ByteArray!: The data to sign.
keyPair
- KeyPair!: The keypair to sign using.
Return
Signature!: The signature.
static fun sign(data: Bytes!, keyPair: KeyPair!): Signature!
(source)
Generates an ECDSA signature.
data
- Bytes!: The data to sign.
keyPair
- KeyPair!: The keypair to sign using.
Return
Signature!: The signature.