static fun verifyDetached(message: Bytes!, signature: Bytes!, publicKey: PublicKey!): Boolean
(source)
Decrypt a message using a given key.
message
- Bytes!: The cipher text to decrypt.
signature
- Bytes!: The public key of the sender.
publicKey
- PublicKey!: The secret key of the receiver.
Return
Boolean: whether the signature matches the message according to the public key.
static fun verifyDetached(message: Allocated!, signature: Allocated!, publicKey: PublicKey!): Boolean
(source)
Decrypt a message using a given key.
message
- Allocated!: The cipher text to decrypt.
signature
- Allocated!: The public key of the sender.
publicKey
- PublicKey!: The secret key of the receiver.
Return
Boolean: whether the signature matches the message according to the public key.
static fun verifyDetached(message: ByteArray!, signature: ByteArray!, publicKey: PublicKey!): Boolean
(source)
Decrypt a message using a given key.
message
- ByteArray!: The cipher text to decrypt.
signature
- ByteArray!: The public key of the sender.
publicKey
- PublicKey!: The secret key of the receiver.
Return
Boolean: whether the signature matches the message according to the public key.