Closed Kagami closed 9 years ago
Yes! I've been excited about and watching that draft mature, CS2a and CS2b fit perfectly naturally into the current APIs and should be very strongly supported, it's almost time to start experimenting using telehash-js so I filed an issue there too :)
There's a lot of activity here lately too: https://github.com/crypto-browserify
Also this for cs3a: https://github.com/jedisct1/libsodium.js and/or https://github.com/dchest/tweetnacl-js
Closing this as it's primarily a telehash-js issue now and will be implemented there using https://github.com/rynomad/subtle
The Web Cryptography API draft defines enough algorithms so CS2a and CS2b could be implemented in new browsers natively. It's already available in latest chromes (partly outdated doc) and will arrive in Firefox soon. Other browsers support is pretty good too and there are some polyfills also available.
So I think telehash-cs2a could be implemented almost natively and should work pretty fast. (Haven't tested it maturely yet.)