Newbie: Python & ADFGVX Cipher Cracking?
Byron
DesertLinux at netscape.net
Wed Nov 17 09:32:43 EST 2004
Hello,
I am working on building a program that cracks "ADFGVX" ciphers.
However, I have run into a minor problem, is has to do with figuring out
the different potential character re-arrangement combinations. See
example below for clarification:
The characters "ABC" can be re-arranged in several different possible ways:
1) ABC
2) BAC
3) BCA
4) ACB
5) CAB
6) CBA
Is there a python function in which I can sent a string of characters to
-- and it will provide me with a list of all possible combinations
available?
example function call: possCharList = allCombinations("ABC")
Any help SINCERELY appreciated!!
Byron
---
More information about the Python-list
mailing list