Shake128.GetCurrentHash Method
Definition
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.
Overloads
GetCurrentHash(Int32) |
Retrieves the hash for the data accumulated from prior calls to the |
GetCurrentHash(Span<Byte>) |
Fills the buffer with the hash for the data accumulated from prior calls to the |
GetCurrentHash(Int32)
- Source:
- Shake128.cs
- Source:
- Shake128.cs
Retrieves the hash for the data accumulated from prior calls to the AppendData
methods, without resetting the object to its initial state.
public:
cli::array <System::Byte> ^ GetCurrentHash(int outputLength);
public byte[] GetCurrentHash (int outputLength);
member this.GetCurrentHash : int -> byte[]
Public Function GetCurrentHash (outputLength As Integer) As Byte()
Parameters
- outputLength
- Int32
The size of the hash to produce.
Returns
The computed hash.
Exceptions
outputLength
is negative.
The object has already been disposed.
Applies to
GetCurrentHash(Span<Byte>)
- Source:
- Shake128.cs
- Source:
- Shake128.cs
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.
public:
void GetCurrentHash(Span<System::Byte> destination);
public void GetCurrentHash (Span<byte> destination);
member this.GetCurrentHash : Span<byte> -> unit
Public Sub GetCurrentHash (destination As Span(Of Byte))
Parameters
Exceptions
The object has already been disposed.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for