11 #ifndef __UT_SHA256_H__
12 #define __UT_SHA256_H__
30 const std::initializer_list<UT_StringView>& inputs,
33 const std::initializer_list<UT_StringView>& inputs);
37 void update(
const unsigned char*
message,
unsigned int len);
38 void finalize(
unsigned char* digest);
41 static const unsigned int SHA256_BLOCK_SIZE = 64;
42 static const unsigned int DIGEST_SIZE = 32;
46 unsigned char myBlock[SHA256_BLOCK_SIZE * 2];
50 #endif // __UT_SHA256_H__
GLuint GLsizei const GLchar * message
unsigned int myTotalLength
A utility class to do read-only operations on a subset of an existing string.
static UT_StringHolder hash(const UT_StringView &input)
GA_API const UT_StringHolder transform