Skip to content

lib: introduce digest library#232

Merged
jow- merged 3 commits intojow-:masterfrom
sebastianertz:lib-digest
Dec 1, 2024
Merged

lib: introduce digest library#232
jow- merged 3 commits intojow-:masterfrom
sebastianertz:lib-digest

Conversation

@sebastianertz
Copy link
Copy Markdown
Contributor

Introduce a new "digest" library which provides bindings for libmd operations. #112

md2(str);
md2_file(path);
md4(str);
md4_file(path);
md5(str);
md5_file(path);
sha1(str);
sha1_file(path);
sha256(str);
sha256_file(path);
sha384(str);
sha384_file(path);
sha512(str);
sha512_file(path);

@jow- jow- force-pushed the lib-digest branch 3 times, most recently from 3bd627c to 46d19ef Compare November 6, 2024 15:11
sebastianertz and others added 3 commits December 1, 2024 13:56
Signed-off-by: Sebastian Ertz <sebastian.ertz@gmx.de>
This is needed for the upcoming digest library support.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Introduce a new default enabled CMake option `DIGEST_SUPPORT_EXTENDED`
which, when turned off, disables all but the most common md5, sha1 and
sha256 alogirthms to reduce the library size.

Also prefer statically linking libmd if possible.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
@jow- jow- merged commit 60e7a88 into jow-:master Dec 1, 2024
@jow-
Copy link
Copy Markdown
Owner

jow- commented Dec 1, 2024

Merged, thanks! Sorry for the long delay.

@sebastianertz sebastianertz deleted the lib-digest branch December 1, 2024 14:27
@jow- jow- mentioned this pull request Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants