robrichards/xmlseclibs

Calculating of the digest

Opened this issue · 0 comments

In the method calculateDigest used function hash for calculating digest:

$digest = hash($alg, $data, true);

But openssl library has a openssl_digest function, why don't use it?

$digest = openssl_digest($data, $alg, true);