1libmd(3LIB)                   Interface Libraries                  libmd(3LIB)
2
3
4

NAME

6       libmd - Message Digest library
7

SYNOPSIS

9       cc [ flag... ] file... -lmd [ library... ]
10       #include <md4.h>
11       #include <md5.h>
12       #include <sha1.h>
13       #include <sha2.h>
14
15

DESCRIPTION

17       Functions  in  this library provide hashing routines for MD4 (RFC1320),
18       MD5 (RFC1321),  SHA1  (RFC3174),  SHA256  (FIPS  180-2),  SHA384  (FIPS
19       180-2), SHA512 (FIPS 180-2).
20

INTERFACES

22       The  shared  object  libmd.so.1  provides the public interfaces defined
23       below. See Intro(3) for additional information on shared object  inter‐
24       faces.
25
26
27
28
29       MD4Final                      MD4Init
30       MD4Update                     md5_calc
31       MD5Final                      MD5Init
32       MD5Update                     SHA1Final
33       SHA1Init                      SHA1Update
34       SHA2Final                     SHA2Init
35       SHA2Update
36
37

SECURITY

39       The  MD4  and  MD5 algorithms are currently considered weak for crypto‐
40       graphic use. The algorithms should be used only for compatibility  with
41       legacy systems or protocols.
42
43
44       The  SHA1 algorithm is also believed to have some weaknesses. Migration
45       to one of the SHA2 algorithms-including  SHA256,  SHA386  or  SHA512-is
46       highly  recommended  when  compatibility  with data formats and on wire
47       protocols is permitted.
48

FILES

50       /lib/libmd.so.1       shared object
51
52
53       /lib/64/libmd.so.1    64-bit shared object
54
55

ATTRIBUTES

57       See attributes(5) for descriptions of the following attributes:
58
59
60
61
62       ┌─────────────────────────────┬─────────────────────────────┐
63       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │Interface Stability          │Committed                    │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │MT-Level                     │MT-Safe                      │
68       └─────────────────────────────┴─────────────────────────────┘
69
70
71
72SunOS 5.11                        16 Jun 2008                      libmd(3LIB)
Impressum