System::Security::Cryptography::HashAlgorithm sınıfı

HashAlgorithm class

Base class for hashing algorithms. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class HashAlgorithm : public System::Security::Cryptography::ICryptoTransform

Yöntemler

YöntemAçıklama
ComputeHash(const ArrayPtr<uint8_t>&)Tamponu hash’ler.
ComputeHash(const ArrayPtr<uint8_t>&, int, int)Tampon dilimini hash’ler.
ComputeHash(SharedPtr<IO::Stream> const&)Akışı sonuna kadar okur ve okunan veri için hash hesaplar.
static Create(const String&)İsme göre hash algoritması oluşturur.
virtual get_Hash()Hesaplanan karma kodunun değerini alır.
virtual get_HashSize()Hesaplanan karma değerinin bayt cinsinden boyutunu alır.
get_InputBlockSize() overrideGirdi blok boyutu.
get_OutputBlockSize() overrideÇıktı blok boyutu.
virtual Initialize()Hasher’ı başlangıç durumuna sıfırlar.
TransformBlock(ArrayPtr<uint8_t>, int, int, ArrayPtr<uint8_t>, int) overrideVeri bloğunu işler ve veriyi çıktı dizisine kopyalar.
TransformFinalBlock(ArrayPtr<uint8_t>, int, int) overrideVerinin son bloğunu işler ve karmayı hesaplar.
virtual ~HashAlgorithm()Yıkıcı.

Ayrıca Bakınız