MCEL_EXPORT_API bool mcel_domain_hash_message(uint8_t *output, mcel_domain_types domain, const uint8_t *msg, size_t msglen)
Compute a 32-byte MCEL domain-separated digest using cSHAKE-256.
Definition domain.c:20
MCEL_EXPORT_API const char * mcel_domain_to_name(mcel_domain_types domain)
Returns the string representation of the domain types enumeration.
Definition domain.c:4
#define MCEL_DOMAIN_STRING_WIDTH
The width of each MCEL domain string.
Definition domain.h:84
#define MCEL_DOMAIN_STRING_DEPTH
The depth of the MCEL domain string array.
Definition domain.h:78
mcel_domain_types
The MCEL hash domain identifiers used to separate commitment types.
Definition domain.h:92