-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I have some questions regarding the API:
- The API exposes modules
D,I, andIDwith generic functions. It seems redundant. Why not just have generic functions? - Considering the lack of conversion functions from string to
encodedorhash, it seems that modulesD,IorIDseems not usable in practice. - For the generic functions, Why does the
hashfunction return both ahashand anencodeddatatype? It seems only the second one can be used withverify. - More generally, what are the differences between a
hashandencoded? Why not just use one datatype? - I am wondering why the
hashfunction takes anencoded_lenargument. It seems that this value comes from the functionencoded_len. Wouldn't be simpler to not exposeencoded_lenand let the functionhashcompute this length by itself?
Metadata
Metadata
Assignees
Labels
No labels