Skip to content

libsodium.PKI.UnsealData

Andrew Lambert edited this page Nov 26, 2022 · 5 revisions

libsodium.PKI.UnsealData

Method Signature

 Protected Function UnsealData(SealedBox As MemoryBlock, RecipientPrivateKey As libsodium.PKI.EncryptionKey) As MemoryBlock

Parameters

Name Type Comment
SealedBox MemoryBlock The data to be decrypted.
RecipientPrivateKey EncryptionKey The private half of the recipient's encryption key pair.

Return value

The decrypted and authenticated SealedBox data, or Nil on error.

Remarks

Decrypts and authenticates the SealedBox data.

See also

Clone this wiki locally