method question! |
Message boards : Number crunching : method question!
Author | Message |
---|---|
Tommy Send message Joined: 16 Sep 07 Posts: 7 Credit: 107,464 RAC: 0 |
I wanted to know as the program tries the solution of the enigma message. The project uses a brute force method, trying all the possible combinations? As an example, what indicates the score in the solutions? Thanks. |
TJM Project administrator Project developer Project scientist Send message Joined: 25 Aug 07 Posts: 843 Credit: 267,994,998 RAC: 0 |
The enigma keyspace is way too large for a brute force. Stefan Krah's software uses hillclimbing algorithms to find plugboard setting, which produces best result in a range of rotor/start position settings. Full range of enigma settings is divided into smaller ranges, for alpha server it's 13 right ring settings and 26^4 start positions. With current speed, it takes about 18 hours to do a full walk through all enigma settings*. However, single walk may not be enough to break a message. Some encryptions are harder to break, it has been proven, that sometimes hundreds or thousands walks are needed to break a tough message. A quote from Stefan's site:
* - it's not entirely true, because due to some minor problems with the work wrapper and the way how BOINC network works, work units are not equally distributed. Here you can read why bruteforce is useless. M4 Project homepage M4 Project wiki |
TJM Project administrator Project developer Project scientist Send message Joined: 25 Aug 07 Posts: 843 Credit: 267,994,998 RAC: 0 |
A score tells how well the result resembles plaintext. The final score reported to the server is the best result found by your client within work unit range. It's based on trigram count - if you take a look at 00trigr.naval, you'll find groups of three letters, each group has it score which depends on how often it appears in decrypted enigma messages. If you want to know more about hillclimbing enigma messages, you can find interesting article here : http://frode.home.cern.ch/frode/crypto/bgac/index.html M4 Project homepage M4 Project wiki |
Tommy Send message Joined: 16 Sep 07 Posts: 7 Credit: 107,464 RAC: 0 |
A score tells how well the result resembles plaintext. The final score reported to the server is the best result found by your client within work unit range. Hi TJM, there is a mistake: this post was opened by me and not by Alfredo15. The first post was written by me (Tommy: p)! Then i wanted to get a question ... the server status page... Hceyz72 work units ready: 5353552 ... the total number of wus? After the five million wus will certainly decrypted the message? For now we are about 350000 wus calculated, this means that we have analyzed the 15% of the total, right? Thanks! |
TJM Project administrator Project developer Project scientist Send message Joined: 25 Aug 07 Posts: 843 Credit: 267,994,998 RAC: 0 |
That's because my script couldn't match the original post with any of users in the db (different email perhaps?). I'll fix it manually.
It's the number of hceyz72 workunits left. After the five million wus will certainly decrypted the message? For now we are about 350000 wus calculated, this means that we have analyzed the 15% of the total, right? Thanks! Take look at the number of keyspace walks. It's 30/500, less than 10%. Either the message will be broken before reaching 100%, or we'll know that it's unbreakable with the current method. M4 Project homepage M4 Project wiki |
Tommy Send message Joined: 16 Sep 07 Posts: 7 Credit: 107,464 RAC: 0 |
I read that the maximum score achieved is 1883763. It is possible to know "a priori" (an estimate) what will be the score of a decrypted message of a certain length? You can make a statistical average of messages already decripted so that we can predict the score for messages not yet clear? |
TJM Project administrator Project developer Project scientist Send message Joined: 25 Aug 07 Posts: 843 Credit: 267,994,998 RAC: 0 |
I read that the maximum score achieved is 1883763. It is possible to know "a priori" (an estimate) what will be the score of a decrypted message of a certain length? You can make a statistical average of messages already decripted so that we can predict the score for messages not yet clear? Usually plaintext scores are 40-100% higher than highest 'garbage'. I'd expect score at least close to 2,6M for a full decrypt, but a lot depends on the message - while doing pre-BOINC tests I saw decrypts with scores only 10% higher than highest nonsense. Examples: http://www.bytereef.org/first-break-logs.txt - first break logs. One of the challenge messages broken:
Trial decrypt of truncated message - top score only slightly higher than highest garbage. Also there's a partial decrypt below (score 15804 - stecker is correct, but ring and wheel settings are not).
M4 Project homepage M4 Project wiki |
Tommy Send message Joined: 16 Sep 07 Posts: 7 Credit: 107,464 RAC: 0 |
What is the "criticality" of this message that we are trying to decrypt? It seems to me that this is harder to solve. Thanks |
TJM Project administrator Project developer Project scientist Send message Joined: 25 Aug 07 Posts: 843 Credit: 267,994,998 RAC: 0 |
It's definitely a tough one - previous two were broken in just few weeks, this one took already lots of CPU time and it's still unbroken. Maybe its an 'offizier' (double encrypted) message, which probably couldn't be broken with current software, or it's too garbled or has too many missing letters to decrypt. We won't know until it's broken. M4 Project homepage M4 Project wiki |
Tommy Send message Joined: 16 Sep 07 Posts: 7 Credit: 107,464 RAC: 0 |
It's definitely a tough one - previous two were broken in just few weeks, this one took already lots of CPU time and it's still unbroken. Maybe its an 'offizier' (double encrypted) message, which probably couldn't be broken with current software, or it's too garbled or has too many missing letters to decrypt. We won't know until it's broken. In some cases, the Germans using double-encrypted messages (offizier). I read that transformed the message with a specific codebook and then crypted with enigma. So with the current client is impossible to decrypt a message double-encrypted :(. This case will have a particularly important content :). |
Message boards :
Number crunching :
method question!