(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_aead_aes256gcm_is_available — Check if hardware supports AES256-GCM
sodium_crypto_aead_aes256gcm_is_available(): bool
The return value of this function depends on whether or not the hardware supports hardware-accelerated AES.
This function has no parameters.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.sodium-crypto-aead-aes256gcm-is-available.php