...instead of TRNG. Efai
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
Stefan Claas wrote:
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
On VPS you cannot install QRNG hardware (Quantis, OpenQRNG) - they're
VMs with no physical access.
Solution: pre-fetch from ANU QRNG via Tor, encrypted local pool, XOR
with /dev/urandom for defence-in-depth.
Claas c'est la classe !!!
Gabx wrote:
Stefan Claas wrote:
Claas c'est la classe !!!
He he, thanks! I show these things here becaue you don't learn new
things here from the regulars, who even do not participate in cool
things, we both show here.
It is intended for offline usage and fetching is done via VPN, because
Tor does not work. And you don't need /dev/urandom/ and XOR because in
the second step we pick randomly 32 bytes from the 256 bytes, with Go's crypto/rand
With that we have true randomness from ANU, which an attacker might see,
but he would have problems to get the final result from the offline
generated 256 bit key.
Stefan Claas wrote:
Gabx wrote:
Stefan Claas wrote:
Claas c'est la classe !!!
He he, thanks! I show these things here becaue you don't learn new
things here from the regulars, who even do not participate in cool
things, we both show here.
Mate your coding changed my life, i swear !
People are a disappointment, and , thanks god (the universe), you keep sharing capsules of incredibly interesting code that always leads to effective solutions.
The difference is mindset.
Humility, willingness to learn new solutions, not being trapped in the
past 'comfort zone' and always looking forward.
Stefan Claas wrote:
It is intended for offline usage and fetching is done via VPN, because
Tor does not work. And you don't need /dev/urandom/ and XOR because in
the second step we pick randomly 32 bytes from the 256 bytes, with Go's crypto/rand
With that we have true randomness from ANU, which an attacker might see, but he would have problems to get the final result from the offline generated 256 bit key.
Thanks Stefan, you're right.
It simplifies things.
I will remove XOR mixing and i will keep only scatter selection with crypto/rand for positions.
One clean defence-in-depth layer instead of two redundant ones.
La classe ! :)
Thanks Stefan, you're right.
Thanks Stefan, you're right.
You both sound like good buddie fags more and more each day.
Thanks Stefan, you're right.
You both sound like good buddie fags more and more each day.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 54 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 14:02:17 |
| Calls: | 742 |
| Files: | 1,218 |
| D/L today: |
3 files (2,681K bytes) |
| Messages: | 183,722 |
| Posted today: | 1 |