@@ -3605,7 +3605,7 @@ added: v15.8.0
3605
3605
* ` err ` {Error}
3606
3606
* ` prime ` {ArrayBuffer|bigint}
3607
3607
3608
- Generates a pseudo-random prime of ` size ` bits.
3608
+ Generates a pseudorandom prime of ` size ` bits.
3609
3609
3610
3610
If ` options.safe ` is ` true ` , the prime will be a safe prime -- that is,
3611
3611
` (prime - 1) / 2 ` will also be a prime.
@@ -3645,7 +3645,7 @@ added: v15.8.0
3645
3645
as a ` bigint ` .
3646
3646
* Returns: {ArrayBuffer|bigint}
3647
3647
3648
- Generates a pseudo-random prime of ` size ` bits.
3648
+ Generates a pseudorandom prime of ` size ` bits.
3649
3649
3650
3650
If ` options.safe ` is ` true ` , the prime will be a safe prime -- that is,
3651
3651
` (prime - 1) / 2 ` will also be a prime.
@@ -4316,7 +4316,7 @@ changes:
4316
4316
* ` buf ` {Buffer}
4317
4317
* Returns: {Buffer} if the ` callback ` function is not provided.
4318
4318
4319
- Generates cryptographically strong pseudo-random data. The ` size ` argument
4319
+ Generates cryptographically strong pseudorandom data. The ` size ` argument
4320
4320
is a number indicating the number of bytes to generate.
4321
4321
4322
4322
If a ` callback ` function is provided, the bytes are generated asynchronously
@@ -5101,10 +5101,10 @@ When passing strings to cryptographic APIs, consider the following factors.
5101
5101
5102
5102
* Not all byte sequences are valid UTF-8 strings. Therefore, when a byte
5103
5103
sequence of length ` n ` is derived from a string, its entropy is generally
5104
- lower than the entropy of a random or pseudo-random ` n ` byte sequence.
5104
+ lower than the entropy of a random or pseudorandom ` n ` byte sequence.
5105
5105
For example, no UTF-8 string will result in the byte sequence ` c0 af ` . Secret
5106
- keys should almost exclusively be random or pseudo-random byte sequences.
5107
- * Similarly, when converting random or pseudo-random byte sequences to UTF-8
5106
+ keys should almost exclusively be random or pseudorandom byte sequences.
5107
+ * Similarly, when converting random or pseudorandom byte sequences to UTF-8
5108
5108
strings, subsequences that do not represent valid code points may be replaced
5109
5109
by the Unicode replacement character (` U+FFFD ` ). The byte representation of
5110
5110
the resulting Unicode string may, therefore, not be equal to the byte sequence
@@ -5119,7 +5119,7 @@ When passing strings to cryptographic APIs, consider the following factors.
5119
5119
```
5120
5120
5121
5121
The outputs of ciphers, hash functions, signature algorithms, and key
5122
- derivation functions are pseudo-random byte sequences and should not be
5122
+ derivation functions are pseudorandom byte sequences and should not be
5123
5123
used as Unicode strings.
5124
5124
* When strings are obtained from user input, some Unicode characters can be
5125
5125
represented in multiple equivalent ways that result in different byte
0 commit comments