Not sure if it's the solution but you could count how many times each letter is used. Then consider that the letter e is used the most in english text. Work from there..