13 #ifndef __NET_HMAC_H__
14 #define __NET_HMAC_H__
31 bool use_base64 =
true);
38 bool use_base64 =
true);
74 #endif // __NET_HMAC_H__
GLuint GLsizei const GLchar * message
NET_API bool NETpbkdf2_hmac(UT_WorkBuffer &output, const NET_DigestAlgorithm &alg, int key_len, const UT_StringView &input, const UT_StringView &salt, int iterations)
NET_API bool NETsecureRandom(UT_WorkBuffer &wbuf, int length)
GLuint GLsizei GLsizei * length
A utility class to do read-only operations on a subset of an existing string.
NET_API bool NEThmac(const NET_DigestAlgorithm &alg, const UT_StringView &input, const UT_StringView &key, UT_WorkBuffer &output, bool use_base64=true)
NET_API bool NETsplitSecureHash(const UT_StringHolder &password, UT_StringHolder &alg_string, int &iterations, UT_StringHolder &salt, UT_StringHolder &hashed_password)
NET_API UT_StringHolder NETsecureHash(const UT_StringHolder &message, const UT_StringHolder &salt, int iterations, UT_StringHolder *salted_message=nullptr)