C++
C++
Example: SecureString.HashVal method
Demonstrates theHashVal method.
Chilkat C++ Downloads
#include <CkSecureString.h>
void ChilkatSample(void)
{
bool success = false;
CkSecureString str;
str.put_MaintainHash("sha256");
str.Append("Hello World");
const char *encodedHash = str.hashVal("base64");
std::cout << encodedHash << "\r\n";
}