static fun sign(message: Bytes!, secretKey: SecretKey!): Bytes!
(source)
Signs a message for a given key.
message
- Bytes!: The message to sign.
secretKey
- SecretKey!: The secret key to sign the message with.
Return
Bytes!: The signature prepended to the message
static fun sign(message: ByteArray!, secretKey: SecretKey!): ByteArray!
(source)
Signs a message for a given key.
message
- ByteArray!: The message to sign.
secretKey
- SecretKey!: The secret key to sign the message with.
Return
ByteArray!: The signature prepended to the message