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

NAME


libmd - Message Digest library

LIBRARY


Message Digest Library (libmd, -lmd)

SYNOPSIS


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

DESCRIPTION


This library provides hashing routines for the following suites of hash
functions:
+o MD4 (RFC1320)
+o MD5 (RFC1321)
+o SHA1 (RFC3174)
+o SHA256 (FIPS 180-2)
+o SHA384 (FIPS 180-2)
+o SHA512 (FIPS 180-2)
+o Edon-R (Cryptographic hash function Edon-R.)
+o Skein 256, 512, and 1024 (The Skein Hash Function Family.)

INTERFACES


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

EdonRFinal EdonRHash
EdonRInit EdonRUpdate
MD4Final MD4Init
MD4Update md5_calc
MD5Final MD5Init
MD5Update SHA1Final
SHA1Init SHA1Update
SHA2Final SHA2Init
SHA2Update Skein_256_Final
Skein_256_Final_Pad Skein_256_Init
Skein_256_InitExt Skein_256_Output
Skein_256_Update Skein_512_Final
Skein_512_Final_Pad Skein_512_Init
Skein_512_InitExt Skein_512_Output
Skein_512_Update Skein1024_Final
Skein1024_Final_Pad Skein1024_Init
Skein1024_InitExt Skein1024_Output
Skein1024_Update

SECURITY


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.

FILES


/lib/libmd.so.1
32-bit shared object

/lib/64/libmd.so.1
64-bit shared object

INTERFACE STABILITY


Committed

MT-LEVEL
MT-Safe

illumos January 16, 2022 illumos

tribblix@gmail.com :: GitHub :: Privacy