CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
sha512.h
1
2#pragma once
3
4#include <security/cryptography/hash_algorithm.h>
5
6namespace System { namespace Security { namespace Cryptography {
7
13class ASPOSECPP_SHARED_CLASS SHA512 : public HashAlgorithm
14{
16 typedef SHA512 ThisType;
18 typedef HashAlgorithm BaseType;
20 ASPOSECPP_SHARED_RTTI_INFO_DECL();
21
22protected:
24 ASPOSECPP_SHARED_API SHA512();
25 MEMBER_FUNCTION_MAKE_OBJECT(SHA512, CODEPORTING_ARGS(), CODEPORTING_ARGS());
26
27public:
30 static ASPOSECPP_SHARED_API SharedPtr<SHA512> Create();
34 static ASPOSECPP_SHARED_API SharedPtr<SHA512> Create(const String& algName);
35};
36
37}}} // namespace System::Security::Cryptography
Base class for hashing algorithms. Objects of this class should only be allocated using System::MakeO...
Definition: hash_algorithm.h:30
Computes SHA512 hash for input data. In C++ SHA512 is not an abstract class. Objects of this class sh...
Definition: sha512.h:14
static SharedPtr< SHA512 > Create()
Creates hash algorithm instance.
static SharedPtr< SHA512 > Create(const String &algName)
Creates hash algorithm instance.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9