Tom was writing cryptic notes in a cipher
The password is "Muiriel".
Frank left a message by means of a secret code.