First of all, thank you for the library!
Have you considered using crypto.createHash to create md5/sha1 hashes instead of the js dependencies?
This would allow us to use your libraries in non-node runtimes like cloudflare workers (currently it fails because js-md5 contains eval which is usually a no-no for security reasons).
I created a temporary fork and replaced the dependencies for the native crypto and all tests passed succesfully, can create a PR if you agree.
Thanks!
First of all, thank you for the library!
Have you considered using crypto.createHash to create md5/sha1 hashes instead of the js dependencies?
This would allow us to use your libraries in non-node runtimes like cloudflare workers (currently it fails because
js-md5containsevalwhich is usually a no-no for security reasons).I created a temporary fork and replaced the dependencies for the native
cryptoand all tests passed succesfully, can create a PR if you agree.Thanks!