(PHP 7 >= 7.2.0)
sodium_crypto_aead_aes256gcm_decrypt — Decrypt in combined mode with precalculation
$ciphertext
   , string $ad
   , string $nonce
   , string $key
   )
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
ciphertext
ad
nonce
key