WordPress开发者和主题制作者的搜索引擎



crypto_aead_aes256gcm_decrypt ›

Sincen/a
已弃用n/a
crypto_aead_aes256gcm_decrypt ( $message, $assocData, $nonce, $key )
参数: (4)
  • (string) $message
    Required: Yes
  • (string) $assocData
    Required: Yes
  • (string) $nonce
    Required: Yes
  • (string) $key
    Required: Yes
查看:
返回:
  • (string|bool)
定义在:
文档:

暂无描述



源码

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;
        }
    }
}