init(profile:compressionAlgorithm:compressionBlockSize:)
Returns a new encryption context from the specified profile, compression algorithm, and block size.
Declaration
init(profile: ArchiveEncryptionContext.Profile, compressionAlgorithm: ArchiveCompression, compressionBlockSize: Int = 1<<20)Parameters
- profile:
The profile to use to create the encryption context.
- compressionAlgorithm:
The compression algorithm.
- compressionBlockSize:
The size of the independently compressed blocks.