CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
md5.h
1
2#pragma once
3
4#include <security/cryptography/hash_algorithm.h>
5
6namespace System { namespace Security { namespace Cryptography {
7
12class ASPOSECPP_SHARED_CLASS MD5 : public HashAlgorithm
13{
15 typedef MD5 ThisType;
17 typedef HashAlgorithm BaseType;
19 ASPOSECPP_SHARED_RTTI_INFO_DECL();
20
21public:
24
27 static ASPOSECPP_SHARED_API SharedPtr<MD5> Create();
31 static ASPOSECPP_SHARED_API SharedPtr<MD5> Create(const String& algName);
32
33protected:
35 ASPOSECPP_SHARED_API MD5();
36 MEMBER_FUNCTION_MAKE_OBJECT(MD5, CODEPORTING_ARGS(), CODEPORTING_ARGS());
37};
38
39}}} // 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
MD5 hashing algorithm. Objects of this class should only be allocated using System::MakeObject() func...
Definition: md5.h:13
static SharedPtr< MD5 > Create(const String &algName)
Creates MD5 algorithm.
static SharedPtr< MD5 > Create()
Creates MD5 algorithm.
SharedPtr< MD5 > ptr
Pointer type.
Definition: md5.h:23
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