MCPcopy Create free account
hub / github.com/c3d/tao3D / HexDecodeString

Function HexDecodeString

libcryptopp/cryptopp/test.cpp:380–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380SecByteBlock HexDecodeString(const char *hex)
381{
382 StringSource ss(hex, true, new HexDecoder);
383 SecByteBlock result((size_t)ss.MaxRetrievable());
384 ss.Get(result, result.size());
385 return result;
386}
387
388void GenerateRSAKey(unsigned int keyLength, const char *privFilename, const char *pubFilename, const char *seed)
389{

Callers 1

AES_CTR_EncryptFunction · 0.85

Calls 3

MaxRetrievableMethod · 0.45
GetMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected