decentralized-identity / did-jwt

Create and verify DID verifiable JWT's in Javascript
Apache License 2.0
331 stars 70 forks source link

fix: provide hash algorithms as exported functions #271

Closed klaus-sap closed 1 year ago

klaus-sap commented 1 year ago

Call implementations of hash functions from native crypto library

mirceanis commented 1 year ago

This library is used in contexts other than nodejs. Will this change also work in browser and react-native environments?

klaus-sap commented 1 year ago

Good point, thank you. I will update this PR

klaus-sap commented 1 year ago

Unfortunately, it seems to be very difficult to handle node crypto in browser environments. Thus, we would try to overwrite exported crypto functions in our project.

uport-automation-bot commented 1 year ago

:tada: This PR is included in version 6.11.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: