AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
HashingUtils.h
Go to the documentation of this file.
1
6#pragma once
7
9
13
14namespace Aws
15{
16 namespace Utils
17 {
18
23 {
24 public:
28 static Aws::String Base64Encode(const ByteBuffer& byteBuffer);
29
34
38 static Aws::String HexEncode(const ByteBuffer& byteBuffer);
39
43 static ByteBuffer HexDecode(const Aws::String& str);
44
48 static ByteBuffer CalculateSHA256HMAC(const ByteBuffer& toSign, const ByteBuffer& secret);
49
54
59
64
69
74
79
84
89
94
99
104
109
110 static int HashString(const char* strToHash);
111
112 };
113
114 } // namespace Utils
115} // namespace Aws
116
#define AWS_CORE_API
Definition: Core_EXPORTS.h:26
static ByteBuffer CalculateSHA256TreeHash(Aws::IOStream &stream)
static ByteBuffer CalculateCRC32(const Aws::String &str)
static Aws::String Base64Encode(const ByteBuffer &byteBuffer)
static int HashString(const char *strToHash)
static ByteBuffer HexDecode(const Aws::String &str)
static ByteBuffer Base64Decode(const Aws::String &)
static ByteBuffer CalculateCRC32(Aws::IOStream &stream)
static ByteBuffer CalculateSHA256(Aws::IOStream &stream)
static ByteBuffer CalculateSHA256HMAC(const ByteBuffer &toSign, const ByteBuffer &secret)
static ByteBuffer CalculateMD5(const Aws::String &str)
static ByteBuffer CalculateSHA1(const Aws::String &str)
static ByteBuffer CalculateSHA1(Aws::IOStream &stream)
static ByteBuffer CalculateCRC32C(Aws::IOStream &stream)
static ByteBuffer CalculateSHA256TreeHash(const Aws::String &str)
static ByteBuffer CalculateCRC32C(const Aws::String &str)
static ByteBuffer CalculateSHA256(const Aws::String &str)
static ByteBuffer CalculateMD5(Aws::IOStream &stream)
static Aws::String HexEncode(const ByteBuffer &byteBuffer)
std::basic_iostream< char, std::char_traits< char > > IOStream
Definition: AWSStreamFwd.h:22
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97