symmetricEncrypt

fun symmetricEncrypt(plaintext: ByteArray, password: CharArray): ByteArray

Password-based (symmetric) encryption of plaintext.