PolymerLabs / arcs

Arcs
BSD 3-Clause "New" or "Revised" License
57 stars 35 forks source link

Add support for Web Cryptography APIs #1791

Open lindner opened 6 years ago

lindner commented 6 years ago

At the least replace usage of Math.random. I suspect there are others.

https://www.w3.org/TR/WebCryptoAPI

shaper commented 6 years ago

@cromwellian has started using some WebCrypto bits for the key management code. He's added https://github.com/PolymerLabs/arcs/blob/master/platform/crypto-node.js and https://github.com/PolymerLabs/arcs/blob/master/platform/crypto-web.js

cromwellian commented 5 years ago

I'll take this one.

lindner commented 5 years ago

Looks like we could start with src/runtime/random.ts and