acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_hasher.h
1#pragma once
2
3
4namespace winrt
5{
6
7
8 class CLASS_DECL_APEX hasher :
10 {
11 public:
12
13
14 enum_hash m_ehash;
15
16 ::winrt::Windows::Security::Cryptography::Core::CryptographicHash^ m_phash;
17
18
19 hasher(::winrt::Windows::Security::Cryptography::Core::CryptographicHash^ phash, enum_hash ehash);
20
21
22 static String^ get_os_provider_name(enum_hash ehash);
23 static ::winrt::Windows::Security::Cryptography::Core::HashAlgorithmProvider^ get_os_provider(enum_hash ehash);
24
25 virtual enum_hash ehash() const override;
26
27 virtual void update(const block& block) override;
28
29 virtual memory get_hash_and_reset() override;
30
31
32 };
33
34
35
36
37} // namespace winrt
38
39
40
Definition hasher.h:13
Definition memory.h:33
Definition block.h:46