🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #333702

Re: QRNG...

#333702
From: Stefan Claas
Date: Sat, 13 Dec 2025 18:56
49 lines
2571 bytes
Onion Courier wrote:
> 
> ...instead of TRNG. 👌
> 
> A Go wrapper for the https://qrng.anu.edu.au/ site.
> (Best visited via a VPN because Tor does not work.)
> 
> C:\Users\xxxxxxxxxxxx>qrng -h
> Usage of qrng:
>   -b int
>         Bytes to generate (0 = continuous stream)
>   -n int
>         Hex values per line (default 16)
>   -q    Quiet mode - no headers/statistics
>   -r    Raw hex output (no spaces/newlines)
> 
> C:\Users\xxxxxxxxxxxx>qrng -b 32
> ANU Quantum Random Number Generator
> Generating: 32 bytes
> 
> 02 88 a6 55 33 4e 53 36 30 cc c9 7b f4 ae 6e a3
> 59 e0 b0 bf 34 be 89 5c ed 1f 9a 0f d8 be 0a 38
> Generated 32 bytes in 11.733s (2.7 bytes/sec)
> 
> C:\Users\xxxxxxxxxxxx>qrng -b 32 -q
> 34 68 f4 6f 7c e7 07 11 d4 aa a9 73 6f f9 01 8c
> b9 f8 c4 b7 4c 84 6d 51 f8 b0 c8 f6 bf f6 2e a2
> 
> C:\Users\xxxxxxxxxxxx>qrng -b 32 -q -r
> 471815d064c0c783acf9227f9508bba30e172047b1ab9e803e8877fb6c46051e
> C:\Users\xxxxxxxxxxxx>
> 

This is useful if you have an older Computer without a TPM 2.0
hardware module chip. Now comes the fun part, we fetch quantum
bytes via a VPN like this: qrng -b 256 -q -r > quantum_numbers.txt
and then use on an offline Computer this transferred hex bytes
block, to pick randomly n hex bytes: pnr < quantum_numbers.txt
Random scatter: 32 bytes from 256 source bytes
ffe1001cc304f39866d6456abe98985f51aaa8a38de00aa2fb47a7506e61e125

https://github.com/Ch1ffr3punk/qrng
https://github.com/Ch1ffr3punk/pnr

Regards
Stefan

-- 
https://oc2mx.net
Technical Details
Message-ID: <10hkcth$1lj3g$1@paganini.bofh.team>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
References: <a9b7zt74dp9stsrrppy4d@oc2mx.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: Stefan Claas <noreply@oc2mx.net>
Newsgroups: alt.cypherpunks,sci.crypt,alt.privacy.anon-server
Subject: Re: QRNG...
Date: Sat, 13 Dec 2025 19:56:32 +0100
Organization: To protect and to server
Message-ID: <10hkcth$1lj3g$1@paganini.bofh.team>
References: <a9b7zt74dp9stsrrppy4d@oc2mx.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 13 Dec 2025 18:56:49 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1756272"; posting-host="Je+kOSnZ18XCeAvi/TdjNg.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
X-Notice: Filtered by postfilter v. 0.9.3