Scala play application intended to encrypt, decrypt and break Vigenere code