System::Security::Cryptography::HashAlgorithm sınıfı
İçindekiler
[
Saklamak
]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öntem | Açı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() override | Girdi 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) override | Veri bloğunu işler ve veriyi çıktı dizisine kopyalar. |
| TransformFinalBlock(ArrayPtr<uint8_t>, int, int) override | Verinin son bloğunu işler ve karmayı hesaplar. |
| virtual ~HashAlgorithm() | Yıkıcı. |
Ayrıca Bakınız
- Class ICryptoTransform
- Namespace System::Security::Cryptography
- Library Aspose.Page for C++