sodium_crypto_aead_aes256gcm_is_available

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_aead_aes256gcm_is_availableCheck 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.

参数

此函数没有参数。

返回值

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top