w3c / webcrypto

The W3C Web Cryptography API
https://w3c.github.io/webcrypto/
Other
267 stars 56 forks source link

Synchronous API ? #167

Closed mcarbonneaux closed 3 years ago

mcarbonneaux commented 8 years ago

with promise there no way to get synchronous resulte for now... it means not to have synchronous api in parallel of the asynchronous API? beceause some time they need synchronous, and some time asynchronous ...

daviddias commented 7 years ago

@mcarbonneaux I believe the answer here is that you want to avoid any sync operation that is CPU bound.

A Sync API of the WebCrypto API would be useful inside a WebWorker context though.

sideshowbarker commented 3 years ago

I’m gonna make a judgement call that based on what I know, there’s not gonna be any browser-engine implementor interest in this. If anybody feels strongly about it otherwise, and is ready to commit to driving implementor discussion around it, then let me know and we can re-open this.