LIBMD(3LIB) Interface Libraries LIBMD(3LIB)

libmdMessage Digest library

Message Digest Library (libmd, -lmd)

#include <md4.h>
#include <md5.h>
#include <sha1.h>
#include <sha2.h>
#include <sys/edonr.h>
#include <sys/skein.h>

This library provides hashing routines for the following suites of hash functions:

The shared object provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

The MD4 and MD5 algorithms are currently considered weak for cryptographic use. The algorithms should be used only for compatibility with legacy systems or protocols.

The SHA1 algorithm is also believed to have some weaknesses. Migration to one of the SHA2 algorithms — including SHA256, SHA386 or SHA512 — is highly recommended when data formats and on wire protocols support the use of SHA2.

32-bit shared object
64-bit shared object

January 16, 2022 OmniOS