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

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

Asynchronously computes the hash of the given cipher bytes.

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

Syntax


public Task<byte[]> ComputeHashAsync(
	byte[] cypherBytes
)

Parameters

cypherBytes
Type: array<Byte>[]()[][]
The cipher bytes to compute the hash for.

Return Value

A task that represents the asynchronous operation and returns the computed hash as a byte array.

Remarks


This asynchronous method computes the hash using the specified hash method (SHA256, SHA384, SHA512, or SHA1). It is suitable for large data sets and provides an efficient way to verify data integrity or authenticity.