Rotation cipher

A rotation cipher substitutes every letter with one that is a fixed amount of positions after it in the alphabet.

As the rotation cipher's key is a single number between 0 and 25, it is trivial to brute-force. An algorithm can guess the correct offset by comparing the relative letter frequencies of the output text with those of English.