encode

fun encode(plaintext: String, password: CharArray): String

Encrypts plaintext with password and returns Base64 ciphertext.