IPWorks Encrypt 2020 JavaScript Edition

Questions / Feedback?

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:

  • IV (required)
  • Key (required)

InputBuffer specifies the input data to encrypt.

EncryptBlock Example


TBD

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 JavaScript Edition - Version 20.0 [Build 8262]