我可以很好地生成所有的密钥,当我去加密文件时,我得到了一个抛给我的错误:error:0E06D06C:configuration file routines:NCONF_get_string:no value,但谷歌和检查stackoverflow只显示有问题的人生成密钥。我的代码:Here
编辑:当我将or die(openssl_error_string());放在openssl_private_encrypt($fileToEnc, $encFile, $privateKey)之后时,错误弹出,但我现在正在获取fwrite() expects parameter 1 to be resource, boolean given in C:\wamp\www\xr1\encrypt.php on line 9
发布于 2016-10-09 02:04:54
不知何故,我的fopen目录中有一个错误,它就这么坏了。现在都修好了,谢谢。
https://stackoverflow.com/questions/39935400
复制相似问题