Java Codec for Encrypting and Decrypting Passphrases