Use 'sha256' instead of 'OPENSSL_ALGO_SHA256' constant

PHP versions older than 5.4 do not have OPENSSL_ALGO_SHA256

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>