digitalbazaar / forge

A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps
https://digitalbazaar.com/
Other
5.01k stars 767 forks source link

CRC #280

Open dimitrirostavo opened 8 years ago

dimitrirostavo commented 8 years ago

Is there a way to calculate the CRC of buffer that is generated from forge.random.getBytesSync ?

dlongley commented 8 years ago

Yes, but, unfortunately, there's no utility function in forge for it at the moment. It's not terribly complex to write. PRs are welcome!