Progress Event
Reports the data encryption/decryption progress.
Syntax
func onProgress(total: Int64, current: Int64, cancel: inout Bool)
Remarks
This event fires periodically during a file encrypt/decrypt operation to report its progress.
Use the Cancel parameter to terminate the encryption/decryption if needed.