Shake256.Read Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Read(Span<Byte>) |
Fills the buffer with the hash for the data accumulated from prior calls to the |
Read(Int32) |
Retrieves the hash for the data accumulated from prior calls to the |
Fills the buffer with the hash for the data accumulated from prior calls to the AppendData
methods without resetting the object to its initial state and allowing additional calls to continue retrieving the hash.
public:
void Read(Span<System::Byte> destination);
public void Read(Span<byte> destination);
member this.Read : Span<byte> -> unit
Public Sub Read (destination As Span(Of Byte))
Parameters
Exceptions
An error has occurred during the operation.
The object has already been disposed.
The platform does not support multiple reads of the hash. GetHashAndReset(Span<Byte>) can be used to perform a single operation.
Applies to
.NET 10 and .NET 9
Product | Versions |
---|---|
.NET | 9, 10 |
Retrieves the hash for the data accumulated from prior calls to the AppendData
methods without resetting the object to its initial state and allowing additional calls to continue retrieving the hash.
public:
cli::array <System::Byte> ^ Read(int outputLength);
public byte[] Read(int outputLength);
member this.Read : int -> byte[]
Public Function Read (outputLength As Integer) As Byte()
Parameters
- outputLength
- Int32
The size of the hash to produce.
Returns
The computed hash.
Exceptions
outputLength
is negative.
An error has occurred during the operation.
The object has already been disposed.
The platform does not support multiple reads of the hash. GetHashAndReset(Int32) can be used to perform a single operation.
Applies to
.NET 10 and .NET 9
Product | Versions |
---|---|
.NET | 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: