sodium_crypto_box_seal

PHP 7 >= 7.2.0, PHP 8
sodium_crypto_box_seal - Anonymous public-key encryption
Manual
Code Examples

Example #1 sodium_crypto_box_seal example

Result: string(120) "oRBXXAV4iQBrxlV4A21Bord8Yo/D8ZlrIIGNyaRCcGBfpz0map52I3xq6l+CST+1NSgQkbV+HiYyFjXWiWiaCGupGf+zl4bgWj/A9Adtem7Jt3h3emrMsLw=" string(41) "Writing software in PHP can be a delight!"
PHP Version:


Function sodium_crypto_box_seal:

Sodium Functions

Most used PHP functions