AWS SDK for C++  0.12.9
AWS SDK for C++
Static Public Member Functions | List of all members
Aws::Utils::HashingUtils Class Reference

#include <HashingUtils.h>

Static Public Member Functions

static Aws::String Base64Encode (const ByteBuffer &byteBuffer)
 
static ByteBuffer Base64Decode (const Aws::String &)
 
static Aws::String HexEncode (const ByteBuffer &byteBuffer)
 
static ByteBuffer HexDecode (const Aws::String &str)
 
static ByteBuffer CalculateSHA256HMAC (const ByteBuffer &toSign, const ByteBuffer &secret)
 
static ByteBuffer CalculateSHA256 (const Aws::String &str)
 
static ByteBuffer CalculateSHA256 (Aws::IOStream &stream)
 
static ByteBuffer CalculateMD5 (const Aws::String &str)
 
static ByteBuffer CalculateMD5 (Aws::IOStream &stream)
 
static int HashString (const char *strToHash)
 

Detailed Description

Generic utils for hashing strings

Definition at line 32 of file HashingUtils.h.

Member Function Documentation

static ByteBuffer Aws::Utils::HashingUtils::Base64Decode ( const Aws::String )
static

Base64 decodes string

static Aws::String Aws::Utils::HashingUtils::Base64Encode ( const ByteBuffer byteBuffer)
static

Base64 encodes string

static ByteBuffer Aws::Utils::HashingUtils::CalculateMD5 ( const Aws::String str)
static

Calculates a MD5 Hash value

static ByteBuffer Aws::Utils::HashingUtils::CalculateMD5 ( Aws::IOStream stream)
static

Calculates a MD5 Hash value

static ByteBuffer Aws::Utils::HashingUtils::CalculateSHA256 ( const Aws::String str)
static

Calculates a SHA256 Hash digest (not hex encoded)

static ByteBuffer Aws::Utils::HashingUtils::CalculateSHA256 ( Aws::IOStream stream)
static

Calculates a SHA256 Hash digest on a stream (the entire stream is read, not hex encoded.)

static ByteBuffer Aws::Utils::HashingUtils::CalculateSHA256HMAC ( const ByteBuffer toSign,
const ByteBuffer secret 
)
static

Calculates a SHA256 HMAC digest (not hex encoded)

static int Aws::Utils::HashingUtils::HashString ( const char *  strToHash)
static
static ByteBuffer Aws::Utils::HashingUtils::HexDecode ( const Aws::String str)
static

Hex encodes string

static Aws::String Aws::Utils::HashingUtils::HexEncode ( const ByteBuffer byteBuffer)
static

Hex encodes string


The documentation for this class was generated from the following file: