MCPcopy Create free account
hub / github.com/LUX-Core/lux / HexDecodeString

Function HexDecodeString

src/cryptopp/test.cpp:485–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483}
484
485SecByteBlock HexDecodeString(const char *hex)
486{
487 StringSource ss(hex, true, new HexDecoder);
488 SecByteBlock result((size_t)ss.MaxRetrievable());
489 ss.Get(result, result.size());
490 return result;
491}
492
493void GenerateRSAKey(unsigned int keyLength, const char *privFilename, const char *pubFilename, const char *seed)
494{

Callers 1

AES_CTR_EncryptFunction · 0.85

Calls 3

MaxRetrievableMethod · 0.45
GetMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected