다음을 통해 공유


NonCryptographicHashAlgorithm.GetCurrentHash 메서드

정의

오버로드

GetCurrentHash()

누적 상태를 수정하지 않고 현재 계산된 해시 값을 가져옵니다.

GetCurrentHash(Span<Byte>)

누적 상태를 수정하지 않고 계산된 해시 값을 에 destination 씁니다.

GetCurrentHash()

Source:
NonCryptographicHashAlgorithm.cs
Source:
NonCryptographicHashAlgorithm.cs
Source:
NonCryptographicHashAlgorithm.cs

누적 상태를 수정하지 않고 현재 계산된 해시 값을 가져옵니다.

public:
 cli::array <System::Byte> ^ GetCurrentHash();
public byte[] GetCurrentHash ();
member this.GetCurrentHash : unit -> byte[]
Public Function GetCurrentHash () As Byte()

반환

Byte[]

이미 제공된 데이터의 해시 값입니다.

적용 대상

GetCurrentHash(Span<Byte>)

Source:
NonCryptographicHashAlgorithm.cs
Source:
NonCryptographicHashAlgorithm.cs
Source:
NonCryptographicHashAlgorithm.cs

누적 상태를 수정하지 않고 계산된 해시 값을 에 destination 씁니다.

public:
 int GetCurrentHash(Span<System::Byte> destination);
public int GetCurrentHash (Span<byte> destination);
member this.GetCurrentHash : Span<byte> -> int
Public Function GetCurrentHash (destination As Span(Of Byte)) As Integer

매개 변수

destination
Span<Byte>

계산된 해시 값을 받는 버퍼입니다.

반환

에 기록 destination된 바이트 수이며, 항상 HashLengthInBytes입니다.

예외

destination이(가) HashLengthInBytes보다 짧은 경우

적용 대상