encryptBlock (method)
Encrypts data and returns the encrypted block.
Syntax
- (NSData*)encryptBlock:(NSData*)inputBuffer :(BOOL)lastBlock;
public func encryptBlock(_ inputBuffer: Data, _ lastBlock: Bool) throws -> Data
Remarks
This method will encrypt the input data and return the encrypted block.
InputBuffer specifies the input data to encrypt.
LastBlock specifies whether the block is the last block.