php-json-ld
php-json-ld copied to clipboard
SHA-256 instead of SHA-1
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: https://github.com/digitalbazaar/jsonld.js/issues/100