Cenzic 232 Patent
Paid Advertising
sla.ckers.org is
ha.ckers sla.cking
If you have some interesting news or want to throw up a link to discuss it, here's the place. Anything is okay, even shameless vendor launches (since that is often applicable to what we work on). 
Go to Topic: PreviousNext
Go to: Forum ListMessage ListNew TopicSearchLog In
Letter/Char frequency
Posted by: Gareth Heyes
Date: May 20, 2009 09:19AM

I was reading Schneier's blog when I posted a link to his contest in wired. So I went to the link about someone trying to solve it:-

This gave me a idea to add a frequency tag in Hackvertor :)

It works like this:-
1. First param splits the letters up "[\s\n]"
2. Second param splits the words up "\n"

It then loops through the letters and counts how many times they occur, if they appear more than once in a word, if the letters repeat and where they appear in the word. The tag then displays all this information and tries to perform a guess of the word based on frequency of the English language.

Anyway it didn't solve the puzzle but it could be useful in future when I improve it, any comments or suggestions would be cool thanks


"People who say it cannot be done should not interrupt those who are doing it.";
labs : [www.businessinfo.co.uk]
blog : [www.thespanner.co.uk]
Hackvertor : [hackvertor.co.uk]

Options: ReplyQuote

Sorry, only registered users may post in this forum.