sodium_crypto_aead_aes256gcm_is_available
PHP Manual
PHP Manual»Sodium İşlevleri»sodium_crypto_aead_aes256gcm_is_available

sodium_crypto_aead_aes256gcm_is_available

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_aead_aes256gcm_is_available — Check if hardware supports AES256-GCM

Açıklama

function sodium_crypto_aead_aes256gcm_is_available(): bool

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

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

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

Sürüm Bilgisi

Sürüm: Açıklama
8.4.0 This function may now return true on aarch64 CPUs with the ARM cryptographic extensions. Previously, hardware-accelerated AES-256-GCM was only detected on x86 and x86_64, and this function always returned false on aarch64.
To Top