EncryptBlock Method
Encrypts data and returns the encrypted block.
Syntax
[VB.NET] Public Function EncryptBlock(ByVal InputBuffer As String, ByVal LastBlock As Boolean) As String
[C#] public byte[] EncryptBlock(byte[] inputBuffer, bool lastBlock);
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.
NOTE: This method has a corresponding asynchronous version (EncryptBlockAsync) for use in the Xamarin environment.