MCPcopy Create free account
hub / github.com/QuipNetwork/cpp-sdk / fromHex32

Function fromHex32

include/common.hpp:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88inline array<uint8_t, 32> fromHex32(const string &hex) {
89 vector<uint8_t> bytes = fromHex(hex, 32);
90 array<uint8_t, 32> result;
91 std::copy(bytes.begin(), bytes.end(), result.begin());
92 return result;
93}
94
95// Generate a random vault ID using entropy
96inline VaultId generateVaultId(const string &entropy = "") {

Callers 5

handleTransferMethod · 0.85
handleExecuteMethod · 0.85
handleChangePqOwnerMethod · 0.85
handleRecoverKeypairMethod · 0.85
parseVaultIdMethod · 0.85

Calls 1

fromHexFunction · 0.85

Tested by

no test coverage detected