PeculiarVentures / webcrypto-liner

webcrypto-liner is a polyfill that let's down-level User Agents (like IE/Edge) use libraries that depend on WebCrypto. (Keywords: Javascript, WebCrypto, Shim, Polyfill)
MIT License
148 stars 26 forks source link

nativeCrypto.getRandomValues is not a function in Node #85

Open TJKoury opened 3 years ago

TJKoury commented 3 years ago

Running into an error generating new keys:

TypeError: exports.nativeCrypto.getRandomValues is not a function

Understand shimming getRandomValues for each environment, suggest using randomFillSync. Can work on a pull if interested.

TJKoury commented 2 years ago

Anything else you need on this pull?