Thread: Cryptology
View Single Post
  #3   Spotlight this post!  
Unread 08-03-2005, 04:23
evulish's Avatar
evulish evulish is offline
1010100
AKA: Grant Harding
#0084 (WATTNESS (bot: Chuck))
Team Role: Alumni
 
Join Date: Jul 2002
Location: Towanda/Wysox, PA
Posts: 1,434
evulish is just really niceevulish is just really niceevulish is just really niceevulish is just really nice
Send a message via AIM to evulish
Re: Cryptology

Ok, I'm giving up for the night because I don't feel like mucking around any more! I tried running a bunch of the words through something I wrote both forwards and backwards and both ways came up with a false answer (either some REALLY odd words or no word at all). If you want to see what I've made, check out http://www.mehh.net/phpstuff/compare.full.phps . You're not going to be able to run it on my server because it'd bog it down for hours with just one hit. If you want to play with it, you're going to have to bog down your own system Just something like http://localhost/compare.full.php?0=buuconac&1=kgcuuwf will find words that will fit in both those letter patterns. You can add more (append &2=whatever and so on). Maybe I did something wrong, but I'm pretty sure it's working properly. Unless spaces and punctuation were substituted in this, I'm going to assume this is bogus. My dict is ~100,000 words and I'm pretty confident about my code.. so the fact that it returns nothing for me makes me question the validity of the crypt.

(Couple notes about that PHP, it took almost 20 minutes to compare all the 2 and 3 letter words on my G4 1.25ghz. It'd be faster if you were using PHP5 and uncommented that first function. It'd be a lot faster if you rewrote it in C. It totally killed my p133.)

Oh, and sample output is here: http://www.mehh.net/phpstuff/output.txt (from using: http://localhost/compare.full.php?0=...ul&3=fzq fgop)
__________________
I'm a professional web developer. I'm good with PHP, Perl, Java/JSP, some RoR, XML, Javascript (AJAX as well), (x)HTML, CSS, etc.. Validated code is good; fully cross-browser code is better (you comply to your users and the software they use, not the other way around. Sorry!)

Last edited by evulish : 08-03-2005 at 04:41.
Reply With Quote