Encrypt Method
Encrypts a buffer.
Syntax
public func encrypt(buffer: Data, startIndex: Int32, count: Int32) throws -> Data
Remarks
Use this method to encrypt a byte array and get the protected message in another byte array.
Specify encryption keys in EncryptingKeys property, and/or encryption password via Passphrase property.