|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Library Interfaces and Headers Oracle Solaris 11 Express 11/10|
- Message Digest library
cc [ flag... ] file... -lmd [ library... ] #include <md4.h> #include <md5.h> #include <sha1.h> #include <sha2.h>
Functions in this library provide hashing routines for MD4 (RFC1320), MD5 (RFC1321), SHA1 (RFC3174), SHA256 (FIPS 180-2), SHA384 (FIPS 180-2), SHA512 (FIPS 180-2).
The shared object libmd.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.
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 compatibility with data formats and on wire protocols is permitted.
64-bit shared object
See attributes(5) for descriptions of the following attributes: