Skip to content

Latest commit

 

History

History
75 lines (47 loc) · 2.14 KB

Assorted.Utils.Crypto.HasherProxy.Compute.md

File metadata and controls

75 lines (47 loc) · 2.14 KB

HasherProxy.Compute Method

Namespace: Assorted.Utils.Crypto
Assembly: Assorted.Utils (Assorted.Utils.dll) version 1.1.0.0

Overload Description
Compute(Byte[]) Returns the hash code of a specified array of bytes.
Compute(Stream) Returns the hash code of content of a specified stream.

Compute(Byte[])

Returns the hash code of a specified array of bytes.

Syntax

public override Byte[] Compute(Byte[] bytes)

Parameters

bytes: Byte[]
An array of bytes to calculate its hash code.

Return Value

Byte[]
The hash code of the specified bytes as an array of bytes.

Exceptions

Exception Description
System.ArgumentNullException bytes is null.

See Also

Compute(Stream)

Returns the hash code of content of a specified stream.

Syntax

public override Byte[] Compute(Stream stream)

Parameters

stream: Stream
A System.IO.Stream object to calculate the hash code of its content.

Return Value

Byte[]
The hash code of content of the stream as an array of bytes.

Exceptions

Exception Description
System.ArgumentNullException stream is null.

See Also


This document is generated by DG.