As you said,

“Anyone can create a one time pad.”

But actually very very few know how to do so.

Even less know how to do it efficiently with their chosen random source.

As for,

“You obviously have a lot of time on your hands Clive.”

If you where a regular reader of this blog you’ld know the answer to why that might be.

As for,

“I actually got bored quarter of the way through and had to stop reading.”

Says a lot more about you than anything else you have posted under your nom de plume.

Which brings me back to your comment,

‘I know how one works, otherwise I would have never used the words “one time pad.”‘

As has been remarked before,

‘Any fool can drive a car, but how many have made one that’s street legal?’

Key generation is one of the major weak spots in all cryptography and more so with the OTP than others.

This particular thread has a marginaly higher probability of being read by those that might benift from the knowledge.

Hence I would have thought you would have realised it was not posted just for your education.

]]>“Anyone can create a one time pad.”

Yes all you need is one or two dice a shaker a 6×6 grid and a sheet of grid paper and either a sheet of carbon paper and plain sheer of paper or a photocopier.

If you only have one dice you will have to throw it twice each time. If you have two dice mark one of them so you know which is the 1st die and which is the 2nd die (colour in the pits with a different coloured ink or paint is one way).

First make the grid depending on if you are using,

1, Number OTP

2, Charecter OTP

3, Alpha Neumeric OTP.

For the simplest,

161616 ABCDE- ABCDEF

272727 FGHIJ- GHIJKL

383838 KLMNO- MNOPQR

494949 PQRST- STUVWX

505050 UVWXY- YZ0123

—— —–Z 456789

Obviously you would be better to fill the grid randomly. That is throw a pair and write down A in that square they point to. Throw another pair and write B. If you get a square that’s filed in throw another pair untill you get a square that’s not occupied.

When you have filled in between half and two thirds of the grid just fill in the remaining squares in whatever way makes you happy (as long as you have the right number of numbers and dashes ‘-‘ ðŸ˜‰

Now to start the OTP

Throw a pair, look it up on the grid, if it’s not a dash write it in the first square on the grid paper. Repeat untill you have five random chars then miss a square and repeate to do the next five.

When you have finished a line, leave three blank lines and fill in the next line with sets of five random chars.

It is IMPORTANT that you always use pairs of throws, and throw a new pair if you get a dash. DO NOT be tempted to just throw one die again, OR WORSE swap the 1st die with the 2nd die.

You can improve things by say using 4 dice and add the throw values and drop the multiples.

I use this system with a random HEX (times 2 for 32 values) map to generate random keys when I need them.

I must admit it gets quite boring generating two 512bit start points for a search for a pair of primes (PQ) but you only need to do it the once to set up a BBS generator, to do it from then onwards.

]]>