ECDsa.HashData Metoda

Definicja

Oblicza wartość skrótu danych binarnych.

Przeciążenia

HashData(Stream, HashAlgorithmName)

Podczas zastępowania w klasie pochodnej oblicza wartość skrótu określonego strumienia binarnego przy użyciu określonego algorytmu tworzenia skrótów.

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

Podczas zastępowania w klasie pochodnej oblicza wartość skrótu określonej części tablicy bajtów przy użyciu określonego algorytmu tworzenia skrótów.

HashData(Stream, HashAlgorithmName)

Podczas zastępowania w klasie pochodnej oblicza wartość skrótu określonego strumienia binarnego przy użyciu określonego algorytmu tworzenia skrótów.

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()

Parametry

data
Stream

Strumień binarny do skrótu.

hashAlgorithm
HashAlgorithmName

Algorytm używany do tworzenia skrótów danych.

Zwraca

Byte[]

Skróty danych.

Wyjątki

Klasa pochodna musi zastąpić tę metodę.

Dotyczy

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

Podczas zastępowania w klasie pochodnej oblicza wartość skrótu określonej części tablicy bajtów przy użyciu określonego algorytmu tworzenia skrótów.

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()

Parametry

data
Byte[]

Dane, które mają zostać skrócone.

offset
Int32

Indeks pierwszego bajtu do data skrótu.

count
Int32

Liczba bajtów do skrótu.

hashAlgorithm
HashAlgorithmName

Algorytm używany do tworzenia skrótów danych.

Zwraca

Byte[]

Skróty danych.

Wyjątki

Klasa pochodna musi zastąpić tę metodę.

Dotyczy