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

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

Decrypts the data represented by a Span<byte>

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

Syntax


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

Parameters

cipherBytes
Type: Span<(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, making it suitable for large datasets.