1
2libmd(7)             BSD Miscellaneous Information Manual             libmd(7)
3

NAME

5     libmd — Message Digest functions from BSD systems
6

DESCRIPTION

8     The libmd library provides message digest functions found on BSD systems
9     either on their libc or libmd libraries and lacking on others like GNU
10     systems, thus making it easier to port projects with strong BSD origins,
11     without needing to embed the same code over and over again on each
12     project.
13
14     The library provides a compatibility interface for the Aladding Enter‐
15     prises MD5 implementation, but the interface is not exposed by default to
16     avoid polluting the namespace.  The LIBMD_MD5_ALADDIN pre-processor vari‐
17     able needs to be defined to expose this interface.
18
19     The library provides a pkgconf(1) entry named libmd.
20

HEADERS

22     The libmd library provides compatibility with various BSD headers and in‐
23     terfaces.
24
25     The following headers are provided for compatibility with NetBSD and
26     OpenBSD.
27
28     <md2.h>
29     <md4.h>
30     <md5.h>
31     <rmd160.h>
32     <sha1.h>
33     <sha2.h>
34
35     The following headers are provided for compatibility with FreeBSD and
36     DragonFly.
37
38     <ripemd.h>
39     <sha.h>
40     <sha256.h>
41     <sha512.h>
42

SEE ALSO

44     md2(3), md4(3), md5(3), rmd160(3), sha1(3), sha2(3).
45

HISTORY

47     The libmd project started in the Debian GNU/kFreeBSD port as part of the
48     libbsd library, as a way to ease porting code from FreeBSD to the GNU-
49     based system.  It was subsequently split into a project created on
50     Hadrons.Org (mirrored on FreeDesktop.Org) for other distributions and
51     projects to use, and further extended to match the other BSD interfaces.
52
53     It is now distributed as part of most non-BSD distributions
54
55BSD                              Oct 05, 2021                              BSD
Impressum