Metraipolis › archive › dc_acf2266f5af1

Random number generation — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Random_number_generation
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-06T12:52:17.125Z
SHA-256 of the archived text
ec6c19644ebda5f41420757ba401e0b0b3e1255a2926205a48e9006897389fba
Stable URL of this page
https://metraipolis.com/documento/dc_acf2266f5af1

How to cite

Random number generation — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Random_number_generation (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_acf2266f5af1 (Metraipolis archive dc_acf2266f5af1, sha256 ec6c19644ebda5f41420757ba401e0b0b3e1255a2926205a48e9006897389fba)
BibTeX
@misc{dcacf2266f5af1,
  title = {Random number generation — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Random_number_generation},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_acf2266f5af1; sha256 ec6c19644ebda5f41420757ba401e0b0b3e1255a2926205a48e9006897389fba},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Random_number_generation. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Random number generation is a process by which, often by means of a random number generator (RNG), a sequence of numbers or symbols is generated that cannot be reasonably predicted better than by random chance. This means that the particular outcome sequence will contain some patterns detectable in hindsight but impossible to foresee. True random number generators can be hardware random-number generators (HRNGs), wherein each generation is a function of the current value of a physical environment's attribute that is constantly changing in a manner that is practically impossible to model. This would be in contrast to so-called random number generations done by pseudorandom number generators (PRNGs), which generate pseudorandom numbers that are in fact predetermined—these numbers can be reproduced simply by knowing the initial state of the PRNG and the method it uses to generate numbers. There is also a class of non-physical true random number generators (NPTRNG) that produce true random numbers without an access to a dedicated hardware source, by scavenging entropy that is present in the computer system. See the details in True vs. pseudo-random numbers. Various applications of randomness have led to the development of different methods for generating random data. Some of these have existed since ancient times, including well-known examples like the rolling of dice, coin flipping, the shuffling of playing cards, the use of yarrow stalks (for divination) in the I Ching, as well as countless other techniques. Because of the mechanical nature of these techniques, generating large quantities of sufficiently random numbers (important in statistics) required much work and time. Thus, results would sometimes be collected and distributed as random number tables. Several computational methods for pseudorandom number generation exist. All fall short of the goal of true randomness, although they may meet, with varying success, some of the statistical tests for randomness intended to measure how unpredictable their results are (that is, to what degree their patterns are discernible). This generally makes them unusable for applications such as cryptography. However, carefully designed cryptographically secure pseudorandom number generators (CSPRNGS) also exist, with special features specifically designed for use in cryptography.

Tema degli esploratori: matematica e informatica teorica (deposito sistematico; ricerca «number theory»).
Fonte: Wikipedia in inglese, voce «Random number generation» — https://en.wikipedia.org/wiki/Random_number_generation
Wikidata Q228206: «Dispositivo hardware o software che produce una sequenza di numeri non predicibile a priori» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q228206
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Random_number_generation?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1374928131, consultata il 2026-10-06T11:08:29.546Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 255439c3c3e7175f9040dbd537c4b7b8594c41b1fe993312fed4695d5330f8c2