Feistel cipher Scala feistel cipher Encrypt and decrypt string with init vector (Long) Encrypt val enc = feistel(text, round, false, key) // text: String, round: Int, key: Long, return String Decrypt val dec = feistel(text, round, true, key)