RSA.HashData 메서드

정의

이진 데이터의 해시 값을 계산합니다.

오버로드

HashData(Stream, HashAlgorithmName)

파생 클래스에서 재정의할 때 지정된 해싱 알고리즘을 사용하여 지정된 이진 스트림의 해시 값을 계산합니다.

HashData(Byte[], Int32, Int32, HashAlgorithmName)

파생 클래스에서 재정의할 때 지정된 해싱 알고리즘을 사용하여 지정된 바이트 배열 부분의 해시 값을 계산합니다.

HashData(Stream, HashAlgorithmName)

파생 클래스에서 재정의할 때 지정된 해싱 알고리즘을 사용하여 지정된 이진 스트림의 해시 값을 계산합니다.

protected:
 virtual cli::array <System::Byte> ^ HashData(System::IO::Stream ^ data, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
protected:
 abstract cli::array <System::Byte> ^ HashData(System::IO::Stream ^ data, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
protected virtual byte[] HashData (System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
protected abstract byte[] HashData (System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
abstract member HashData : System.IO.Stream * System.Security.Cryptography.HashAlgorithmName -> byte[]
override this.HashData : System.IO.Stream * System.Security.Cryptography.HashAlgorithmName -> byte[]
abstract member HashData : System.IO.Stream * System.Security.Cryptography.HashAlgorithmName -> byte[]
Protected Overridable Function HashData (data As Stream, hashAlgorithm As HashAlgorithmName) As Byte()
Protected MustOverride Function HashData (data As Stream, hashAlgorithm As HashAlgorithmName) As Byte()

매개 변수

data
Stream

해시할 이진 스트림입니다.

hashAlgorithm
HashAlgorithmName

해시 알고리즘입니다.

반환

Byte[]

해시된 데이터입니다.

예외

파생 클래스가 이 메서드를 재정의해야 합니다.

적용 대상

HashData(Byte[], Int32, Int32, HashAlgorithmName)

파생 클래스에서 재정의할 때 지정된 해싱 알고리즘을 사용하여 지정된 바이트 배열 부분의 해시 값을 계산합니다.

protected:
 virtual cli::array <System::Byte> ^ HashData(cli::array <System::Byte> ^ data, int offset, int count, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
protected:
 abstract cli::array <System::Byte> ^ HashData(cli::array <System::Byte> ^ data, int offset, int count, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
protected virtual byte[] HashData (byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
protected abstract byte[] HashData (byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
abstract member HashData : byte[] * int * int * System.Security.Cryptography.HashAlgorithmName -> byte[]
override this.HashData : byte[] * int * int * System.Security.Cryptography.HashAlgorithmName -> byte[]
abstract member HashData : byte[] * int * int * System.Security.Cryptography.HashAlgorithmName -> byte[]
Protected Overridable Function HashData (data As Byte(), offset As Integer, count As Integer, hashAlgorithm As HashAlgorithmName) As Byte()
Protected MustOverride Function HashData (data As Byte(), offset As Integer, count As Integer, hashAlgorithm As HashAlgorithmName) As Byte()

매개 변수

data
Byte[]

해시할 데이터입니다.

offset
Int32

해시할 data에 있는 첫 번째 바이트의 인덱스입니다.

count
Int32

해시할 바이트 수입니다.

hashAlgorithm
HashAlgorithmName

데이터를 해시하는 데 사용하는 알고리즘입니다.

반환

Byte[]

해시된 데이터입니다.

예외

파생 클래스가 이 메서드를 재정의해야 합니다.

적용 대상