83713 24712 99383 99791 74371 99675 16998 65827 78391 96778 48269 98554 42748 46999
98392 92904 19478 62743 75792
95310 31348 12478 57042 01936
87891 50293 55708 42843 12427
32192 98661 11575 24498 29767
45952 53539 34865 61381 72658
88457 19291 09810 97766 14554
52177 98437 70929 66370 13352
65820 49360 26558 57971 09957
26342 90321 87562 03018 70045
52979 97212 52211 62243 96548
62619 51683 25415 07879 79954
The first group (98392) will be used to identify this page of random numbers so we will start with the second group (92904).
Subtract the random numbers from the message. If the result from subtraction is less than 0, add 10. This is similar to
clock math but we are using 10 digits instead of 12. Never ever borrow or carry digits. Each column is handled
independently. Look at the first column. 8 - 9 = 9. Obviously 8 - 9 is really -1 but that is less than 0 so add 10. -1 +
10 = 9. Going ahead with the next two colums 3 - 2 = 1, no problem there. 7 - 9 = 8. Again 7 - 9 would normally give -2.
Since -2 is less than 0 add 10 to get 8. Once this process is complete we have our encrypted message. 83713 24712 99383 99791 74371 99675 16998 65827 78391 96778 48269 98554 42748 46999
- 92904 19478 62743 75792 95310 31348 12478 57042 01936 87891 50293 55708 42843 12427
91819 15344 37640 24009 89061 68337 04520 18885 77465 19987 98076 43856 00905 34572
rng.txt - (replaced by mkpad.py) PHP script that will convert a binary RNG stream
(/dev/random, /dev/hwrng, /var/run/rtl_entropy.fifo) into formatted digits without introducing bias.
echo PHP_EOL; is commented out. This puts all of the output on one line making it suitable for
the one-time pad templates above.
Example:
$ php rng.txt
23553 42054 76368 73848 40076
27952 20777 88992 18641 92343
68454 36112 27668 02377 56183
71052 27762 46482 27812 89638
23437 35615 13827 93262 38483
32990 42370 76772 82439 15912
00297 08511 43121 81612 92501
06582 69115 84332 06603 35251
59158 80723 54031 09417 79072
05741 72873 01253 80517 71293
29814 33721 64026 87611 38650
sort.txt - (replaced by mkpad.py) PHP script that will sort 15 random number blocks and place
them in the proper order for pasting into an example book template.
Example:
$ head -5 416.txt
41693 70794 08216 86521 06764 98341 81853 52505 51513 63700 ...
47612 97639 47369 55932 74225 77214 64550 40358 71827 65488 ...
30117 41680 25595 22212 62681 40558 60733 82514 47034 00848 ...
16926 37363 22852 60663 37575 70368 07615 82672 15578 54942 ...
04881 17458 40053 94620 36672 23735 51479 67333 37486 13345 ...
$ php sort.txt <416.txt
31617 00648 57336 60952 03638 40631 61537 49405 76027 27730 ...
62938 35653 13766 84760 54565 65085 25231 53613 98052 44831 ...
98392 92904 19478 62743 75792 95310 31348 12478 57042 01936 ...
04881 17458 40053 94620 36672 23735 51479 67333 37486 13345 ...
23986 73389 18207 12447 98333 74088 37005 30778 52337 75809 ...
...