PHP.nl

sodium_crypto_aead_aes256gcm_is_available

sodium_crypto_aead_aes256gcm_is_available

Check if hardware supports AES256-GCM

bool **sodium_crypto_aead_aes256gcm_is_available**

The return value of this function depends on whether or not the hardware supports hardware-accelerated AES.

Returns true if it is safe to encrypt with AES-256-GCM, and false otherwise.