@Nullable static fun decryptSealed(cipherText: Bytes!, sender: PublicKey!, receiver: SecretKey!): Bytes?
(source)
Decrypt a sealed message using a given key.
cipherText
- Bytes!: The cipher text to decrypt.
sender
- PublicKey!: The public key of the sender.
receiver
- SecretKey!: The secret key of the receiver.
Return
Bytes?: The decrypted data, or null
if verification failed.
@Nullable static fun decryptSealed(cipherText: ByteArray!, sender: PublicKey!, receiver: SecretKey!): ByteArray?
(source)
Decrypt a sealed message using a given key.
cipherText
- ByteArray!: The cipher text to decrypt.
sender
- PublicKey!: The public key of the sender.
receiver
- SecretKey!: The secret key of the receiver.
Return
ByteArray?: The decrypted data, or null
if verification failed.