[Pythonsudoku-devel] Cute application idea
Brought to you by:
xoseotero
From: Ted S. <dod...@gm...> - 2008-04-17 19:03:55
|
Hi all, Might there be a way to pass 9 sets of 9 characters to be used as the symbols in a solved sudoku puzzle? It would be even better if there were some way to show both the original 1-9 and the replacement characters at the same time, maybe by having a larger gray number background, with a solid black character foreground. What could this be used for, you're probably wondering? Say you want to print out a password card, with a set of strong passwords that you could use on one or more accounts. But if someone's looking over your shoulder, you don't want it to be obvious which password you're using. Generate 9 strong passwords following a certain pattern. Here's one that I created randomly as an example Qd"4xkD9f that's 2 Uppercase (U), 4 lowercase (l), 2 digits (d), 1 symbol (S). Let's say that you create 9 such passwords, all with the sequence above: UlSdllUdl If you then substitute these 9 passwords into a solved sudoku puzzle, you are guaranteed that *every* 1-9 sequence you find in the square will contain some set of 2U, 4l, 2d, 1S characters. You could then print this out and carry it with you to remember your password. Someone looking over your shoulder wouldn't know which sequence you were using -- all you have to remember is "upper left corner", or "column 6", or even "row 3, using the original order". Nice, eh? The password generation is another problem. But let's say that I handle that myself and pass in the string myself. Is that an easier problem to solve? Ted -- dodecatheon at gmail dot com Frango ut patefaciam -- I break so that I may reveal |