The Random Page

2023-05-27 | [radiclock]
next: Atomic Clock

lol so random

As part of my atomic clock project I also produce random numbers (why not). Radioactive decay is a well known method to generate true randomness because no one can predict which or when an atom will decay. This technique was used for years in the famous HotBits project which is sadly shut down as of 2023. I have a radioactive sample of my own, but, there's a ways to go from a Geiger counter to a number. How does this work?

  1. Radiation from my sample of pitchblende gets detected by one of my radiation sensors. These are the "clicks" you hear from a geiger counter.
  2. There is a timer running all the time. When a pulse from the sensor comes in, take the timestamp of it. If you want to slow down the rate, you can take the time every nth pulse instead. Whatever the setup, do this until you have 4 timestamps.
  3. Do a quick check to make sure the timestamps are in order (in case the timer overflowed)
  4. Take the 4 timestamps, and generate 2 intervals:
  5. If interval0 > interval1, that's a 0. If interval1 > interval0, that's a 1. If the 2 are equal, throw out the sample and try again.

I actually have 2 sensors; one is a classic Geiger–Müller tube, and the other is PIN-diode based. I collect random numbers from each. I didn't know quite what to do with the numbers I collected, so I figured I would publish them live.

The 2 detectors are set up to generate random bits at around the same rate - about 32 bytes every 55 seconds. The full 1024 byte frames shown and linked below will update about once every half hour. Therefore, please do not spam us with requests. Also, be sure to check the ISO 8601 timestamp at the start of each file, and make sure it's somewhat close to the current time. If it isn't, the project is either broken, or you are getting a cached copy (check your browser).

Also, a most important note: the data listed here is published globally, not individually, like HotBits or random.org. In other words, it is not unique to you. I highly recommend you do not use this for security purposes as it it possible another party may have a copy of the data.

From the GM tube (hex format):

2026-11-19T18:53:10.513088+00:00
e13d919fbc2a5a5b6c5f248715c3979095b574799d13d65d81f05b94b8414779
c865b2cf2f1775dc9f1e7baa373604fcfa0b0fdb313b46045679adda431e8bc4
0a79a6bb9771403e07b2c953aca5dd49f3fe3184bd1c05f43a358963f0102f68
218590d090c3502cd07526cdc02810d5139cd30961649775695f8dcac566c4c2
81387d3a3d50a0d8fe05d32b8252e3773fd2c07e31b70f75d3760696ac9bd578
b607c95febe1091b2cefb41fd700577be2901c04686dff1dcfe040141dbc82b1
50f3f224695d8fe265dbfc4124d36ecd92649a15e371c67aa469dd639f81e5ae
c32c04b61e298a3383c2daf31c9740f77321f7e064f91555fafdb05d98a945ff
b938130a873243aef0909500ed40aca85d52bf3bf4a9d6fb1287e4ca93138e39
b14609919ec99ff7ec40fbb609c0ec4c8eb69e8b1bda4a3d5a5ee9fb42f53bd1
88bbd9c50806d005cdf72e3930d3e080c7a137eda1f2579be8ada076c8a9346f
cbf59d67fd61f2cd20bb8e6ce7946bed7d860360e29fc9aaaff1e0c52434132a
690cad5ed5ad27dace0048d5ce3a75d7aa19095eacca0a4a6fa3665d5051b563
c74463a65d41fc57d5e16ac09f7ba9de0067e7b6415bdc716fc854418549efa8
c9c167b6dfc85cd0ed546c1c2fac3fcb06f9ccf9bf1c44a3c758271cae258ac3
e03d408f1207a799c8fa85ca23e0652efd8d80cbf9f8cd12d999cf530841cec5
d901beb23dae2ec22ffd647f7e5769fae42bec17831a7050beef044c6bc58c62
636cb904c585ab3c09fc366f9a6427721c699c0e966c1e21829d66449e8ff59e
30e05168ab8279ca0fea4c15b0f8d7ce998b0f6eaab32bd24a96c378f12e22ff
1b18c9aa9739fa5166a267e1b9cf66ecc150629d51332a53d548fb840808c665
28c561634fa769109288f32b2b98636236b7816d6b072fcebe395f7000696275
18bbe823fd878bd498edbf075c9481afc968b3422cb621735e2a29cdfe737122
25c00edeafd2081fd8364b4fa95b6d22634a15b8443ce57c1bc87160c48cb7a0
4126ccb7483e129cbe2ec7f9c8b93aeb40f0eb29de3a0a217ac62520993a4b09
aaee587ecbb97f0b46d5566fad0b6ebdf38da56dfd4dc59a730a26d1ec1d8501
b6155835322f522e6e13b9278b16c8302583b39c8b86f8ef8652672366dcd668
01c1fb9845128b31224b2f8946430f714e7e4bfbda73af076cca20c38c1c21d1
a6f1d31b2e5c564b0b1b566aac0cd081c4994a404ed5ccc7d4782f9b500ccd93
2809d78a367011d7390fac07bdc11c90d7e067d568f813409b75ba462e393e7d
f7d5b12d2150c3cc303fbbb1c828bb00971a239b13f8088601741267d57f512b
c3f5a1741065311be7647fbf4f7eb31a95a3b03d57540aa3ac008ebb67c1dadb
227200ce1ca6e8cf37947a7cd325e671b8b0836cf0b45d5d6121e3ceba82a635

From the PIN diode (hex format):

2026-11-19T18:42:21.311314+00:00
9b59a97c475f2fcf7e77be0cd6c8f5b479d93994a43b5b89bbd049ecb2e314bd
27a00c88c59fe7ba7a21fc3033c0a05a4ac272078494e17f96043da293af7a83
663f568bca0c7db965544bec1e273aaf26b0826cd4c0a1a894d6eda1390448dc
03f1f7da47ade159e82bdc6b6c81df58bcf92030bcb40b2869a8cf439304314d
b69f2072a8282571b1b4272020a6267dc798fff9e889391f2e97f2a127cda740
ca22bfc75f34075af5cededcc3e6c0f2818edbe4ea2eab1cfc9e0a601b5d3255
314b940cce6d67ef9d9c9e45893024735ce6311ca7352842d9daa5f11e1ad508
0486b2d420562aef0bd8db66ec00995f91d66bcef7c098cccc827afb69895448
21e9b4a5b4aa12b6a251b429f63b8207636ad454871565a51f7b3ec59f5ad7d1
a7caee46602f8bc144712dc22a435caf9b2252040af40caaebfcab92efacd91b
33684bb388bcc79b4cbc89bc1e6d3b22e6e6a5b7c8f825043f04d594d25aff9e
243ae1a9a56608f2b272443f6719b4d2eed0a4caa6c68803745e38876b8a94f5
95245d05d2eef3c92b9129835f7f0cb42aaaa2e3f4fadaf1d2b46cb0faade1f1
b24a675c4a0ab130d2241acf76a790cff8a14bb1b81248ffab3fc440702d822f
58018ddb1b61b94c46e31e7db29ecc25859ca0c200626459e2b0234b4f85a9cf
0b809869c03592c23a17f47f2f659f54c450ad6a349dca7c19c1f444ce967912
1dc86e06ca78f900af9cd5ab1d2cf022962007c860a4a07e858f8992260c0a15
c13f9cd9da3ea90055d70fbdd4f8b07afeccd5c679a5280b15d4e2b486deb4be
0202d4b501f4e0d4dcacc6bf1daf4cd0c5d9ddb23f982b97f88409fa7b157e33
26447835b34c7c292350e4a2eb8916646b9d735b880c205b86e8c3b8d3a8e8d3
f882f34ce9c4c5010f6327972735d1ecfac9837aa1c641baf57d989fe04ec8b2
6a97df23abe597d69323107fdca08c34f068ad11018f21bb91e993bc42a1edcf
3518746ce6b00fc9a4c97683b0a9a09f5d3f0977d0845d9d5645a9234728cd75
a384a41f686ac9cef983540aa2ddcfaa6239b0f1e29c7bec73dddea43113baf0
c62330dcf55e5554fec5d1b1dc77b08f72a90da42cef2e8ab3a979b1d688a74e
49021cf3bfb636818ed424af7fb8ae289dda2d55a398676ac1a21148e681cf19
c9055f056fe12159c32bffb836df003255954ccece9e6dca012780c9167c5646
d501e45c282c84139f9c397b15c7080a99054c2a865aa27488c70c4075067654
a65b113484d24ee75577eb7cfebf44ec0569bd437fea5afd9357360d7fbf3eb3
bee98a4a0eec3089d10b7cef9e3634bed0190eb4915a44ec9b2a6e61f3739ba5
36b5f9e773e50d407860bee76be9b9b1cad9c6bcddd8ef5356ed9d05d91f12af
cfc45c5eb1c137f0a4a4a76a7fdcdfac346045a78e8ca098a743f18079ae20d9

Ok, so you want decimal digits instead? I've come up with this technique:

  1. Look at each byte. It's a number from 0-255. Throw out any samples greater than 199, and we now have a range from 0-199
  2. Convert those samples to a 3 digit string, then throw away the first digit. Now, we have random numbers from 0-99
  3. Concat those strings into a really long string. Now, we have a sequence of random digits. But, the string can vary in length.
  4. To deliver something with consistent length, I can just trim the string. But by how much? Since the probability of a skipped byte is 56/256, we would expect about 800 of 1024 bytes to be usable samples. There's a 50% chance there will be more than 800 good bytes. But, there's about a 99.99% chance there will more than 750 bytes. I still double check to make sure, but that's what I publish. Of course, that gives 1500 digits.

To determine where to make the cut, look up the binomial distribution probability. It's already built into spreadsheets as BINOM.DIST, which is what I used.

From the GM tube (digits):

2026-11-19T18:53:10.513088+00:00
61455988429091089536352195514449811621571993299148
84657121017847231759302370555404111549597004862173
67303996102166875113646207788372657349328928055853
37991647043333444495804417389240161956099700511705
95419702969429562558618060054330821963922649831517
18065072552082079509274480310087234428040409296420
29883077803605934301653610460054211398226405995929
74954404823041385131942851641533002185769352696985
56191035506774444900647268938291596918354719425777
70094558596482099276428258392774619094665936879708
06054657482899615561875573601869521157039732874208
48072534039659707597365219420512739473390072581770
25099472107411630293808181999968996693658706925923
69000382659113118465337368930382928408284772630691
28686399883928743738956164431807675333350146412818
53830865970190786174469447002726870543233126128090
04760797409899088504973371600954115400391428055614
50083033305702685843584881047130211576217653391510
70794374509520463427247051578102620385029380985781
51428372320808980140979799796705164636434352999854
83290907074790579512000598172487353539529107924829
75047966448233159442411513343792147508315475796991
09349974218468602427139696408360653883726218569046
99855864415810332298373253587509708826852711708611
73111089416509779754151038293301822188535047824610
19853939224837317956393434820335020401935269183949
34754737706715137826751575070832954028336627469286
75112786067212299653746478992047558012474009385412
17571572078993284403041964551786704657622577453380
95486387774087005126355519083401161803278143956116

From the PIN diode (digits):

2026-11-19T18:42:21.311314+00:00
55896924719547261990128021574864599137877378208939
60123697598622334851926090749414073248275004616247
75223102638639122585018475303958753876300892616848
61570472037173894307082988883248888011400568674704
49778259321468403713778039323266382599523757314651
61396764349199955207909592294246712858109627935085
49754812090357565869374836159249286753406665302608
04347832864211020053954507925230220537847233806580
70188262818041593007990684352101653123629759906770
96473993681345944267927555348204101270714672275104
75793688995576883788300959346583370463044890583658
69650208781468630325806466983603169456350738484936
93054345413195271280427062800876737874039274107748
36261867446175778418727163966412453047880141279785
76703025785837335660940098008976357579336911285205
92534694582327470159849680730652572425936850211829
10062000755671294434503207966460263343374638121021
93635662690085158976229821654011218034809002028101
72989129757697786352435132092321265138682053797624
41358062372200075715913612329134958468307696970115
99395139533122619865862552597878065135715147351627
60405204731701433387454788666153241608761564183176
69605993630919329357866969357140176332643104063184
10627098577656231564491986983548948584977719764314
69136444463879692177366778730228918254294236752784
74405745856352030693621772292505950511338995438454
00508549765809013928222486700192404432195956572321
99081053057642349062163699126417061884669117523278
85192491680505896727904787541327916279903874144837
11245854529025148045906855421097155565548115136420

Or, perhaps you want just the raw bytes themselves. Just make sure to trim away the first 33 bytes which are the timestamp header:

Here is the python program I use to generate the reports above.

comments | patronage | Alnwlsn 2026