• Generate Random Data From Sound Card

    From OCTADE@news0@octade.net to sci.crypt on Tue Mar 3 05:16:47 2026
    From Newsgroup: sci.crypt

    Try one command to convert the sound card into a TRNG.

    It should work with the audio muted.

    arecord -D plughw -f S32_LE -t wav -c2 -r 44100 \
    | xxd -p -c 0 | fold -w 8 | cut -c 5-6 | tr -d '\n' \
    | fold -w 63 | head -n 320 | tail -n 20

    This harvests the low-order noise bits and discards the silent bits.

    The remainder is electronic noise from the sound card.

    The user may need to specify the sound card with:

    ```-D plughw:A,B```

    where A is the card number and B is the device number obtained via 'arecord -l'.
    --
    = OCTADE = alt.rhubarb = misc.misc = sci.crypt =
    = https://soc.octade.net/octade =

    --- Synchronet 3.21d-Linux NewsLink 1.2