@@ -3605,7 +3605,7 @@ added: v15.8.0
36053605 * ` err ` {Error}
36063606 * ` prime ` {ArrayBuffer|bigint}
36073607
3608- Generates a pseudo-random prime of ` size ` bits.
3608+ Generates a pseudorandom prime of ` size ` bits.
36093609
36103610If ` options.safe ` is ` true ` , the prime will be a safe prime -- that is,
36113611` (prime - 1) / 2 ` will also be a prime.
@@ -3645,7 +3645,7 @@ added: v15.8.0
36453645 as a ` bigint ` .
36463646* Returns: {ArrayBuffer|bigint}
36473647
3648- Generates a pseudo-random prime of ` size ` bits.
3648+ Generates a pseudorandom prime of ` size ` bits.
36493649
36503650If ` options.safe ` is ` true ` , the prime will be a safe prime -- that is,
36513651` (prime - 1) / 2 ` will also be a prime.
@@ -4316,7 +4316,7 @@ changes:
43164316 * ` buf ` {Buffer}
43174317* Returns: {Buffer} if the ` callback ` function is not provided.
43184318
4319- Generates cryptographically strong pseudo-random data. The ` size ` argument
4319+ Generates cryptographically strong pseudorandom data. The ` size ` argument
43204320is a number indicating the number of bytes to generate.
43214321
43224322If a ` callback ` function is provided, the bytes are generated asynchronously
@@ -5101,10 +5101,10 @@ When passing strings to cryptographic APIs, consider the following factors.
51015101
51025102* Not all byte sequences are valid UTF-8 strings. Therefore, when a byte
51035103 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.
51055105 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
51085108 strings, subsequences that do not represent valid code points may be replaced
51095109 by the Unicode replacement character (` U+FFFD ` ). The byte representation of
51105110 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.
51195119 ```
51205120
51215121 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
51235123 used as Unicode strings.
51245124* When strings are obtained from user input, some Unicode characters can be
51255125 represented in multiple equivalent ways that result in different byte
0 commit comments