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

DeterministicEncryption..::..ComputeHash Method

Computes the hash of the given cipher bytes.

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

Syntax


public byte[] ComputeHash(
	byte[] cypherBytes
)

Parameters

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

Return Value

The computed hash as a byte array.

Remarks


This method computes the hash using the specified hash method (SHA256, SHA384, SHA512, or SHA1). It is used to verify the integrity or authenticity of the cipher bytes.