A WordPress-centric search engine for devs and theme authors



crypto_aead_aes256gcm_decrypt ›

Sincen/a
Deprecatedn/a
crypto_aead_aes256gcm_decrypt ( $message, $assocData, $nonce, $key )
Parameters: (4)
  • (string) $message
    Required: Yes
  • (string) $assocData
    Required: Yes
  • (string) $nonce
    Required: Yes
  • (string) $key
    Required: Yes
See:
Returns:
  • (string|bool)
Defined at:
Codex:

No description yet.



Source

function crypto_aead_aes256gcm_decrypt($message, $assocData, $nonce, $key)
    {
        try {
            return ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_decrypt($message, $assocData, $nonce, $key);
        } catch (\TypeError $ex) {
            return false;
        } catch (\SodiumException $ex) {
            return false;
        }
    }
}