isHashDigest

Checks whether str is a hash digest.

bool
isHashDigest
(,
bool allow_radix = false
)

Parameters

str cstring

string to check

allow_radix bool

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

Return Value

Type: bool

true if str is a hash digest

Meta