php-crypto
php-crypto copied to clipboard
Objective PHP binding of OpenSSL Crypto library
When I run examples/gcm.php, I am getting following Error PHP Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting '{' in /nfs/interns/smitm/Desktop/crypto/php-crypto-master/examples/Crypto.php on line 5 Can anyone show how to fix...
all was running fine, but today without any update this error appeared: ``` $ php -v php: symbol lookup error: /usr/lib/php/20151012/crypto.so: undefined symbol: OPENSSL_init_crypto ``` Exists some logs to help...
## Streams The new crypto stream API is a wrapper for OpenSSL BIO methods (`BIO_s_*`). Currently just `BIO_s_file` is wrapped by `crypto.file://` stream. Additional BIO filters can be added in...
/private/tmp/pear/temp/crypto/php_crypto.h:45:10: fatal error: 'openssl/evp.h' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [crypto.lo] Error 1 ERROR: `make' failed
``` /Users/dylan-work/Documents/projects/pocketmine-mp/php-build-scripts/install_data/subdir/php/ext/crypto/crypto_stream.c:347:2: error: incompatible function pointer types initializing 'ssize_t (*)(php_stream *, const char *, size_t)' (aka 'long (*)(struct _php_stream *, const char *, unsigned long)') with an expression of type...
We have a long legacy tail stretching back to PHP 5.6 right now. This is preventing us from using many new features, as well as necessitating a CI build which...
@bukka I don't know a whole lot about OpenSSL API, would we require significant changes here to support 3.x?
php_crypto.h:45:10: fatal error: 'openssl/evp.h' file not found
Several algorithms produce an error when calling the update method. `Fatal error: Uncaught Crypto\HashException: Initialization of hash failed` In particular, the following algorithms. **md4 whirlpool** The rest of the functions...
From UPGRADING.INTERNALS ``` - The php_strtoupper(), php_string_toupper(), php_strtolower(), and php_string_tolower() functions has been removed, use zend_str_toupper(), zend_string_toupper(), zend_str_tolower(), and zend_string_tolower() respectively instead. ```