File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ packages. See [Resources](#resources) for articles and real-world software that
3636
3737We support all major platforms and runtimes.
3838For
[ Deno
] ( https://deno.land ) , ensure to use
[ npm specifier
] ( https://deno.land/[email protected] /node/npm_specifiers ) .
39- For React Native, you may need a [ polyfill for getRandomValues] ( https://github.com/LinusU/react-native-get-random-values ) .
39+ For React Native, you may need a [ polyfill for crypto. getRandomValues] ( https://github.com/LinusU/react-native-get-random-values ) .
4040If you don't like NPM, a standalone [ noble-curves.js] ( https://github.com/paulmillr/noble-curves/releases ) is also available.
4141
4242The library is tree-shaking-friendly and does not expose root entry point as
@@ -770,6 +770,10 @@ We consider infrastructure attacks like rogue NPM modules very important; that's
770770 The packages are big, which makes it hard to audit their source code thoroughly and fully.
771771- They are only used if you clone the git repo and want to add some feature to it. End-users won't use them.
772772
773+ As for key generation, we're deferring to built-in
774+ [crypto.getRandomValues](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)
775+ which is considered cryptographically secure (CSPRNG).
776+
773777## Speed
774778
775779Benchmark results on Apple M2 with node v20:
You can’t perform that action at this time.
0 commit comments