hashDigestToHashT

Converts from a hash digest (exactly HashDigits digits) to a hash_t.

bool
hashDigestToHashT
(,
out hash_t hash
,
bool allow_radix = false
)

Parameters

str cstring

string to convert

hash hash_t

output value to receive hex value, only set if conversion succeeds

allow_radix bool

if true, the radix specified "0x" is allowed at the start of str

Return Value

Type: bool

true if the conversion succeeded

Meta