Thanks for the help! I tried playing it twice and did the *exact* things you mention: the first time I played around with the diary until I understood how it worked, substituted the letters I needed and wrote them down on a notepad, and the second time I just typed the password in since I already knew it.
I'll play it again later to see the ending, third time's the charm! :D