Skip to content

Commit 2e04d96

Browse files
committed
readme
1 parent 79dd7d3 commit 2e04d96

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ packages. See [Resources](#resources) for articles and real-world software that
3636
3737
We support all major platforms and runtimes.
3838
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).
4040
If you don't like NPM, a standalone [noble-curves.js](https://github.com/paulmillr/noble-curves/releases) is also available.
4141

4242
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
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
775779
Benchmark results on Apple M2 with node v20:

0 commit comments

Comments
 (0)