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

DeterministicEncryption..::..Encrypt Method (Memory<(Of <(<'Byte>)>)>)

Encrypts the given memory block of bytes using deterministic AES encryption.

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

Syntax


public byte[] Encrypt(
	Memory<byte> clearData
)

Parameters

clearData
Type: Memory<(Of <(<'Byte>)>)>
The clear data to encrypt as Memory<byte>.

Return Value

The encrypted data as a byte array.

Remarks


Ideal for large data sets, this method uses AES encryption in CBC mode with PKCS7 padding. It ensures deterministic encryption, providing consistent results for identical input data.