Press space to type, up to encrypt your next message and the down arrow to decrypt your message.
I used this in my Scratch Os: https://scratch.mit.edu/projects/1185118229/