RNG Key Plain Digit Cipher
3 0 3 9 2
1 3 7 9 6
2 2 1 3 4
3 1 5 6 1
1 2 8 6 4
1 2 1 2 3
0 3 4 9 3
3 0 7 6 3
1 1 9 9 8
2 1 2 2 4
3 1 6 3 9
1 2 9 6 5
[/code]
Note that, with the exception of the first
key digit, key is produced by adding the
two outputs of the RNG to the key used for
the previous digit.
Suppose that the 12-digit numbers to be
enciphered are made by choosing each digit
independently from the distribution:
Question
superprismatic
A very good random number generator (RNG)
produces the digits 0,1,2, and 3 uniformly.
Two such digits are generated and added
together to produce a key which is used
to encipher the first digit of a 12-digit
number. Two more digits are generated,
added together, then added to the previous
key modulo 10 to produce another key which
is used to encipher the second digit of the
12-digit number. This continues until all
the digits of the 12-digit number are
enciphered. Encipherment of each digit
consists of adding it to its key modulo 10.
Here is a sample encription of the 12-digit
number 993662969236:
You are presented with the cipher
843386775967. What is the most probable
12-digit number which could have been
enciphered (in the above manner) to
produce it?
Note also that, even though the RNG choses
uniformly, the sum of two such digits does
not follow a uniform distribution. Also
keep in mind the way the 12-digit plain
digits are formed.
Have fun!
Link to comment
Share on other sites
17 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.