DeterministicEncryption..::..ComputeHashAsync Method (Stream)
Asynchronously computes the hash for the provided stream using the specified hash method.
Namespace:
Walter.CypherAssembly: Walter.Cypher (in Walter.Cypher.dll)
Syntax
Parameters
- cypherStream
- Type: Stream
The stream containing the data to hash.
Return Value
A task that represents the asynchronous operation. The task result contains the computed hash.Exceptions
Exception | Condition |
---|---|
NotImplementedException | Thrown if the hash method is not implemented. |
InvalidOperationException | Thrown if the stream does not support seeking. |