How to openssl_sign with SHA256
Posted: Wed Nov 25, 2015 1:18 am
Hello!
I would like to implement the following php code in FWH 15.08 (bcc582) or 15.09 (bcc7)
In contrib folder I found hbssl (https://github.com/harbour/core/tree/ma ... trib/hbssl)
How can I build the necessary lib-s? I would like to use the latest OpenSSL 1.0.2d
Thanks, Roman
I would like to implement the following php code in FWH 15.08 (bcc582) or 15.09 (bcc7)
Code: Select all
$pkeyid = openssl_pkey_get_private( file_get_contents($cert_file), $cert_password);
openssl_sign($zoisrc, $zoisha256, $pkeyid, 'SHA256');
How can I build the necessary lib-s? I would like to use the latest OpenSSL 1.0.2d
Thanks, Roman