The Roving Bishop Algorithm
The source code is available on GitHub
A program that generates random images similar to the ones produced by SSH during keygen. I followed this paper but messed up some of the bit-reading parts so it won't work exactly the same as the SSH one does.
Example Outputs
╬═════════════════╬ ║ ║ ║ . o ║ ║ . + .║ ║ o o o ║ ║ . o S . . E║ ║ . . o + ..oo. ║ ║ o . +. ++. ║ ║ . .. .oo ║ ║ .. .. ║ ╬═════════════════╬
╬═════════════════╬ ║ ... . ║ ║ ........║ ║ = o.. o║ ║ * = . ║ ║ S + . ║ ║ . . ║ ║ ..E. ║ ║ ..=o. ║ ║ .+.oo. ║ ╬═════════════════╬
╬═════════════════╬ ║ ║ ║ E ║ ║ . ║ ║ . o ║ ║ So = . ║ ║ +.* + . ║ ║ ..O = o . ║ ║ oo O o . ║ ║ .ooo . . ║ ╬═════════════════╬
╬═════════════════╬ ║ . ║ ║ . o ║ ║ + = o . E ║ ║ o . O + . ║ ║ o . S o ║ ║ . . O * ║ ║ o * . ║ ║ . ║ ║ ║ ╬═════════════════╬
See Also
- A cool demonstration of the algorithm and an explanation of how it works.
- An even older demonstration of the algorithm and an explanation of how it works.