Decrypt Method
Decrypts a buffer.
Syntax
public func decrypt(buffer: Data) throws -> Data
Remarks
Use this method to decrypt a byte array and get the encrypted message in another byte array.
Specify the decryption key in Key property before calling this method.