hey...i'm sorta new to java development. i'm using BlueJ, is that considered to be good software? i'm curious to hear....
i'm currently working on a simple cryptography program that utilizes certain linguistic patterns to decrypt simple monoalphabetic ciphers (ie a=P, n=R, d=X ergo and=PRX). Now, i've been working on this approach for a bit now, and i've implemented a 300,000 word dictionary and frequency analysis classes (ie analyzes the frequencies of certain linguistic patterns... (the project ignores intentional mispelling and assumes english...) and a bunch of other classes, but i'm finding it very difficult on a class interaction level, so i'm considering going back to the beginning.....
Basically, its pretty complicated, but then i thought: wait, why not just have 26 for loops to plug in all of the possible combinations of the alphabet? (its called brute force). turns out the number of possible combinations is the factorial of 26, which is something like 10 to the 28th. thats an immense amount of calculations, theoretically taking 117 billion years on a typical PC.
i was wondering what are some other ideas people have for an approach to this?
i'm currently working on a simple cryptography program that utilizes certain linguistic patterns to decrypt simple monoalphabetic ciphers (ie a=P, n=R, d=X ergo and=PRX). Now, i've been working on this approach for a bit now, and i've implemented a 300,000 word dictionary and frequency analysis classes (ie analyzes the frequencies of certain linguistic patterns... (the project ignores intentional mispelling and assumes english...) and a bunch of other classes, but i'm finding it very difficult on a class interaction level, so i'm considering going back to the beginning.....
Basically, its pretty complicated, but then i thought: wait, why not just have 26 for loops to plug in all of the possible combinations of the alphabet? (its called brute force). turns out the number of possible combinations is the factorial of 26, which is something like 10 to the 28th. thats an immense amount of calculations, theoretically taking 117 billion years on a typical PC.
i was wondering what are some other ideas people have for an approach to this?
