mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 15:05:11 +00:00
[MOD] Use specific SHA1/256 abstraction functions
This commit is contained in:
parent
6cd3df21db
commit
4c158ea186
9 changed files with 80 additions and 22 deletions
|
|
@ -99,6 +99,20 @@ extern char * ParseeGenerateGetopt(const Argument *list);
|
|||
* Modifies: NOTHING */
|
||||
extern void ParseeGenerateHelp(const Argument *list);
|
||||
|
||||
/** Generates a hexadecimal version of the SHA-256 digest of the
|
||||
* original string.
|
||||
* ----------------
|
||||
* Returns: a hexadecimal string[HEAP]
|
||||
* Modifies: NOTHING */
|
||||
extern char * ParseeSHA256(char *string);
|
||||
|
||||
/** Generates a hexadecimal version of the SHA-1 digest of the
|
||||
* original string.
|
||||
* ----------------
|
||||
* Returns: a hexadecimal string[HEAP]
|
||||
* Modifies: NOTHING */
|
||||
extern char * ParseeSHA1(char *string);
|
||||
|
||||
/* Initialises a Parsee config from scratch, and writes to it
|
||||
* as JSON in the CWD. */
|
||||
extern void ParseeConfigInit(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue