[cryptography] New Hand Cipher - The Drunken Bishop

andrew cooke andrew at acooke.org
Thu Dec 26 15:57:11 EST 2013

here's my suggestion on a possibly harder version.

first, remove the complicated edge rules.  instead, imagine that the board
repeats.  so something leaving nort from h4 will arrive at a7.  this might
help remove biases from the corners (where you can be stuck for one move).
the drawback is that this almost removes the "drunken" switching from black to
white, but see below.

second, add a rook that moves in a similar way, but the directions are
horizontal and vertical.  this starts at b3, say (see below).

third, the moves are made alternately (bishop, rook, bishop, rook, bishop,
rook), and if at any time one piece threatens the other, they change position.

and maybe the plaintext is only added to one piece?

and maybe the row number of the rook is a bit rotation applied to the output?


On Thu, Dec 26, 2013 at 12:05:24PM -0700, Aaron Toponce wrote:
> I created a new hand cipher over the past few weeks, and announced it on my
> blog yesterday. I'm curious what people on this list think.
>     https://pthree.org/2013/12/25/the-drunken-bishop-cipher/
> The idea comes from taking an 8x8 chessboard, and assigning the values
> 0-63 randomly and uniquely to each square on the board. This gives a total
> keyspace of 64!. The bishop takes a "random walk" around the board, based
> on the square value he's landed on. Details are in the post.
> The idea comes from wanting a hand cipher that wasn't a strenuous as the
> Solitaire Cipher by Bruce Schneier, and takes the idea of the random walk
> from the SSH key ASCII art.
> The algorithm is a base-64 pseudorandom number generator which is applied
> to the plain text, and added modulo 64. It's an output mode stream cipher.
> I haven't done any cryptanalysis on the cipher yet. Lowest hanging fruit
> seems to be frequency analysis with output biases and generating a "heat
> map" of each square the bishop has landed on for a given key and plaintext
> to discover any internal biases.
> I'm not a professional cryptographer, just an amateur hobbyist. I think I
> have a lot of my ducks in a row, but I would be interested in greater
> feedback on how I can improve the cipher, and to discover any weaknesses.
> If this list isn't appropriate for this sort of thing, my apologies. Please
> point me the right direction to discuss this.
> Thanks,
> -- 
> . o .   o . o   . . o   o . .   . o .
> . . o   . o o   o . o   . o o   . . o
> o o o   . o .   . o o   o o .   o o o

> _______________________________________________
> cryptography mailing list
> cryptography at randombit.net
> http://lists.randombit.net/mailman/listinfo/cryptography

More information about the cryptography mailing list