apply

abstract fun apply(cipher: Cipher, userPassword: ByteArray, rekey: Int, cipherSalt: Buffer?)(source)

Details on parameters and result can be found here.