IncrementalHash.GetCurrentHash 메서드

정의

오버로드

GetCurrentHash()

개체를 초기 상태로 다시 설정하지 않고 AppendData(ReadOnlySpan<Byte>) 메서드에 대한 이전 호출에서 누적된 데이터의 해시 또는 HMAC(해시 기반 메시지 인증 코드)를 검색합니다.

GetCurrentHash(Span<Byte>)

개체를 초기 상태로 다시 설정하지 않고 AppendData(ReadOnlySpan<Byte>) 메서드에 대한 이전 호출에서 누적된 데이터의 해시 또는 HMAC(해시 기반 메시지 인증 코드)를 검색합니다.

GetCurrentHash()

Source:
IncrementalHash.cs
Source:
IncrementalHash.cs
Source:
IncrementalHash.cs

개체를 초기 상태로 다시 설정하지 않고 AppendData(ReadOnlySpan<Byte>) 메서드에 대한 이전 호출에서 누적된 데이터의 해시 또는 HMAC(해시 기반 메시지 인증 코드)를 검색합니다.

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

반환

Byte[]

계산된 해시 또는 HMAC입니다.

예외

개체가 이미 삭제되었습니다.

적용 대상

GetCurrentHash(Span<Byte>)

Source:
IncrementalHash.cs
Source:
IncrementalHash.cs
Source:
IncrementalHash.cs

개체를 초기 상태로 다시 설정하지 않고 AppendData(ReadOnlySpan<Byte>) 메서드에 대한 이전 호출에서 누적된 데이터의 해시 또는 HMAC(해시 기반 메시지 인증 코드)를 검색합니다.

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>

해시 또는 HMAC 값을 받을 버퍼입니다.

반환

destination에 쓰인 바이트 수입니다.

예외

destinationLength 값이 HashLengthInBytes보다 작습니다.

개체가 이미 삭제되었습니다.

적용 대상