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

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

Decrypts the data represented by a Memory<byte>.

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

Syntax


public byte[] Decrypt(
	Memory<byte> cipherBytes
)

Parameters

cipherBytes
Type: Memory<(Of <(<'Byte>)>)>
The cipher bytes to decrypt.

Return Value

A byte array containing the decrypted data.

Remarks


This method decrypts the data using AES algorithm in CBC mode with PKCS7 padding. It processes the data in chunks, which is efficient for large datasets. The method uses the Memory of byte type to handle the data, providing additional flexibility in managing memory.