digitalbazaar/php-json-ld

SHA-256 instead of SHA-1

annando opened this issue · 0 comments

According to the specifications for the normalization that is needed for signatures, the hash algorithm "sha-256" should be used. Instead "sha-1" is used, which partially leads to invalid signatures.

This had been discussed in the corresponding JS library as well: digitalbazaar/jsonld.js#100