EncryptBlock Method
Encrypts data and returns the encrypted block.
Syntax
async rc4.encryptBlock(inputBuffer : Uint8Array): Promise<Uint8Array>
Remarks
EncryptBlock will encrypt the input data and return the encrypted block. The encrypted block will always be the same length as the decrypted data. The following properties are applicable:
InputBuffer specifies the input data to encrypt.
EncryptBlock Example
TBD