Function __global->sodium_crypto_box_seal_open

Definitions

sources_custom/phpstub.php

  • Decrypt a message that was encrypted with sodium_crypto_box_seal().
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$ciphertext string required parameter N/A N/A The encrypted message
$key_pair string required parameter N/A N/A The keypair of the recipient

Return

  • The decrypted message (false: error)
  • Type: ~string
  • Set: N/A
  • Range: N/A