HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_HMAC.h File Reference
#include "NET_API.h"
#include <UT/UT_WorkBuffer.h>
#include <UT/UT_StringHolder.h>
+ Include dependency graph for NET_HMAC.h:

Go to the source code of this file.

Functions

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 NEThmac (const NET_DigestAlgorithm &alg, const UT_StringView &input, const UT_StringView &key, UT_StringHolder &output, bool use_base64=true)
 
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 NETpbkdf2_hmac (UT_StringHolder &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)
 
NET_API bool NETsecureRandom (UT_StringHolder &output, int length)
 

Function Documentation

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 NEThmac ( const NET_DigestAlgorithm alg,
const UT_StringView input,
const UT_StringView key,
UT_StringHolder output,
bool  use_base64 = true 
)
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 NETpbkdf2_hmac ( UT_StringHolder 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 
)
NET_API bool NETsecureRandom ( UT_StringHolder output,
int  length 
)