Echo JS 0.11.0

<~>
swiss 1607 days ago. link 2 points
Looks interesting, but why is it the "world's most powerful"? Is this just marketing, or do you mean something concrete by it?

And how does it work? Does it use Math.random behind the scenes?

Replies

nastyox 1606 days ago. link 1 point
Thanks for having a look. It uses window.crypto.getRandomValues with window.msCrypto.getRandomValues as a failsafe and Math.random as an "all else failed" last-ditch effort. It works with all data types in JavaScript as well as jQuery elements, is available for plain JS as well as Node.js, and requires very little effort to accomplish a lot in a simple, human-readable way. We also offer a Math.random() based version (version 1.0.0) if that's your preference for some reason, but it's not our default recommendation. The source code is available on the GitHub if you're interested in learning more.