Entropy (computing) - Windows

Windows

Microsoft Windows releases newer than 95A feature the CryptoAPI (CAPI) API that gathers entropy in a similar fashion to Linux kernel's /dev/random.

Windows's CryptoAPI uses the binary registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\RNG\Seed to store a seeded value from all of its entropy sources.

Because CryptoAPI is closed-source, some free and open source software applications running on the Windows platform use other measures to get randomness. For example, GnuPG, as of version 1.06, uses a variety of sources such as the number of free bytes in memory that combined with a random seed generate the desired randomness it needs.

Programmers using CAPI can get entropy by calling CAPI's CryptGenRandom, after properly initialising it.

Read more about this topic:  Entropy (computing)

Famous quotes containing the word windows:

    this frenzy,
    like bees stinging the heart all morning,
    will keep the angels
    with their windows open,
    wide as an English bathtub.
    Anne Sexton (1928–1974)

    All day long the machine waits: rooms,
    stairs, carpets, furniture, people
    those people who stand at the open windows like objects
    waiting to topple.
    Anne Sexton (1928–1974)

    In winter we lead a more inward life. Our hearts are warm and cheery, like cottages under drifts, whose windows and doors are half concealed, but from whose chimneys the smoke cheerfully ascends.... We enjoy now, not an Oriental, but a Boreal leisure, around warm stoves and fireplaces, and watch the shadow of motes in the sunbeams.
    Henry David Thoreau (1817–1862)