forked from tornado-packages/noble-curves
readme note on csprng
This commit is contained in:
parent
eabab627c7
commit
36894729c0
@ -839,7 +839,10 @@ Use low-level libraries & languages. Nonetheless we're targetting algorithmic co
|
|||||||
We're deferring to built-in
|
We're deferring to built-in
|
||||||
[crypto.getRandomValues](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)
|
[crypto.getRandomValues](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)
|
||||||
which is considered cryptographically secure (CSPRNG).
|
which is considered cryptographically secure (CSPRNG).
|
||||||
|
|
||||||
In the past, browsers had bugs that made it weak: it may happen again.
|
In the past, browsers had bugs that made it weak: it may happen again.
|
||||||
|
Implementing a userspace CSPRNG to get resilient to the weakness
|
||||||
|
is even worse: there is no reliable userspace source of quality entropy.
|
||||||
|
|
||||||
## Speed
|
## Speed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user