add java en/decryption