www.LinuxHowtos.org
libmd
Section: Environments, Tables, and Troff Macros (7)Index Return to Main Contents
BSD mandoc
NAME
libmd - Message Digest functions from BSD systemsDESCRIPTION
The libmd library provides message digest functions found on BSD systems either on their libc or libmd libraries and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project.The library provides a compatibility interface for the Aladding Enterprises MD5 implementation, but the interface is not exposed by default to avoid polluting the namespace. The LIBMD_MD5_ALADDIN pr-processor variable needs to be defined to expose this interface.
The library provides a pkgconf(1) entry named libmd
HEADERS
The libmd library provides compatibility with various BSD headers and interfaces.The following headers are provided for compatibility with Nx and Ox .
- In md2.h
- In md4.h
- In md5.h
- In rmd160.h
- In sha1.h
- In sha2.h
The following headers are provided for compatibility with Fx and Dx .
- In ripemd.h
- In sha.h
- In sha256.h
- In sha512.h
SEE ALSO
md2(3), md4(3), md5(3), rmd160(3), sha1(3), sha2(3).HISTORY
The libmd project started in the Debian GNU/kFreeBSD port as part of the libbsd library, as a way to ease porting code from FreeBSD to the GN-based system. It was subsequently split into a project created on Hadrons.Org (mirrored on FreeDesktop.Org) for other distributions and projects to use, and further extended to match the other BSD interfaces.It is now distributed as part of most no-BSD distributions