Sodium
crypto_aead_aes256gcm_decrypt() WP 1.0
Хуков нет.
Возвращает
Строку/true/false
. Null. Ничего.
Использование
crypto_aead_aes256gcm_decrypt( $message, $assocData, $nonce, $key );
- $message(строка) (обязательный)
- -
- $assocData(строка) (обязательный)
- -
- $nonce(строка) (обязательный)
- -
- $key(строка) (обязательный)
- -
Заметки
- Смотрите: ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_decrypt()
Код crypto_aead_aes256gcm_decrypt() crypto aead aes256gcm decrypt WP 5.7
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;
}
}