AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Static Public Member Functions | List of all members
alexaClientSDK::acsdkAudioPlayer::Util Class Reference

#include <Util.h>

Static Public Member Functions

static std::string generateMD5Hash (const std::string &input, const std::shared_ptr< cryptoInterfaces::CryptoFactoryInterface > &cryptoFactory)
static std::string getDomainNameFromUrl (const std::string &url)

Member Function Documentation

◆ generateMD5Hash()

static std::string alexaClientSDK::acsdkAudioPlayer::Util::generateMD5Hash ( const std::string &  input,
const std::shared_ptr< cryptoInterfaces::CryptoFactoryInterface > &  cryptoFactory 

Generate MD5 Hash.

inputto hash.
cryptoFactoryEncryption facilities factory.
string MD5 Hash of input or an empty string if hashing fails.

◆ getDomainNameFromUrl()

static std::string alexaClientSDK::acsdkAudioPlayer::Util::getDomainNameFromUrl ( const std::string &  url)

Get domain name from an Url "" will return "".

urlto parse
string of the hostname found in Url. Empty string if parsing is unsuccessful.

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0