gbv / jskos-tools

Tools for working with the JSKOS data format.
https://gbv.github.io/jskos-tools/
MIT License
2 stars 0 forks source link

Replace simple-sha1 #25

Closed stefandesu closed 4 years ago

stefandesu commented 4 years ago
stefandesu commented 4 years ago

It seems also that all modern browsers have a way to create SHA-1 hashes, see this answer on SO. But then we would need to add some code which can differentiate between browser and Node.js. Also, we should in both cases make sure that the hashes are definitely the same as the ones the current library creates.