WALTER | Workable Algorithms for Location-aware Transmission, Encryption Response

DeterministicEncryption..::..Encrypt Method (array<Byte>[]()[][])

Encrypts the given byte array using deterministic AES encryption.

Namespace:  Walter.Cypher
Assembly:  Walter.Cypher (in Walter.Cypher.dll)

Syntax


public byte[] Encrypt(
	byte[] clearBytes
)

Parameters

clearBytes
Type: array<Byte>[]()[][]
The clear data to encrypt.

Return Value

The encrypted data as a byte array.

Remarks


This method uses AES encryption in CBC mode with PKCS7 padding. It processes the data in chunks, suitable for large data sets, ensuring deterministic output for the same input.