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
36
36
37
37
We support all major platforms and runtimes.
38
38
For [ Deno] ( https://deno.land ) , ensure to use [ npm specifier] ( https://deno.land/manual@v1.28.0/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 ) .
40
40
If you don't like NPM, a standalone [ noble-curves.js] ( https://github.com/paulmillr/noble-curves/releases ) is also available.
41
41
42
42
The 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
770
770
The packages are big, which makes it hard to audit their source code thoroughly and fully.
771
771
- They are only used if you clone the git repo and want to add some feature to it. End-users won't use them.
772
772
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
+
773
777
## Speed
774
778
775
779
Benchmark results on Apple M2 with node v20:
You can’t perform that action at this time.
0 commit comments