| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f1027ec commit 4def7c4
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -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 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1772,7 +1772,7 @@ changes: | |||
| 1772 | 1772 | **Default:** none, see `minVersion`. | |
| 1773 | 1773 | * `sessionIdContext` {string} Opaque identifier used by servers to ensure | |
| 1774 | 1774 | session state is not shared between applications. Unused by clients. | |
| 1775 | - * `ticketKeys`: {Buffer} 48-bytes of cryptographically strong pseudo-random | ||
| 1775 | + * `ticketKeys`: {Buffer} 48-bytes of cryptographically strong pseudorandom | ||
| 1776 | 1776 | data. See [Session Resumption][] for more information. | |
| 1777 | 1777 | * `sessionTimeout` {number} The number of seconds after which a TLS session | |
| 1778 | 1778 | created by the server will no longer be resumable. See | |
@@ -1915,7 +1915,7 @@ changes: | |||
| 1915 | 1915 | If `callback` is called with a falsy `ctx` argument, the default secure | |
| 1916 | 1916 | context of the server will be used. If `SNICallback` wasn't provided the | |
| 1917 | 1917 | default callback with high-level API will be used (see below). | |
| 1918 | - * `ticketKeys`: {Buffer} 48-bytes of cryptographically strong pseudo-random | ||
| 1918 | + * `ticketKeys`: {Buffer} 48-bytes of cryptographically strong pseudorandom | ||
| 1919 | 1919 | data. See [Session Resumption][] for more information. | |
| 1920 | 1920 | * `pskCallback` {Function} | |
| 1921 | 1921 | * socket: {tls.TLSSocket} the server [`tls.TLSSocket`][] instance for | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1175,7 +1175,7 @@ added: v15.0.0 | |||
| 1175 | 1175 | * Type: {ArrayBuffer|TypedArray|DataView|Buffer} | |
| 1176 | 1176 | ||
| 1177 | 1177 | The salt value significantly improves the strength of the HKDF algorithm. | |
| 1178 | - It should be random or pseudo-random and should be the same length as the | ||
| 1178 | + It should be random or pseudorandom and should be the same length as the | ||
| 1179 | 1179 | output of the digest function (for instance, if using `'SHA-256'` as the | |
| 1180 | 1180 | digest, the salt should be 256-bits of random data). | |
| 1181 | 1181 | ||
@@ -1327,7 +1327,7 @@ added: v15.0.0 | |||
| 1327 | 1327 | ||
| 1328 | 1328 | * Type: {ArrayBuffer|TypedArray|DataView|Buffer} | |
| 1329 | 1329 | ||
| 1330 | - Should be at least 16 random or pseudo-random bytes. | ||
| 1330 | + Should be at least 16 random or pseudorandom bytes. | ||
| 1331 | 1331 | ||
| 1332 | 1332 | ### Class: `RsaHashedImportParams` | |
| 1333 | 1333 | <!-- YAML | |
| Back | FazBrowse Home | New Git URL |
0 commit comments