MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
ripemd(3)                           OpenSL                          ripemd(3)



NAME
       RIPEMD160, RIPEMD160Init, RIPEMD160Update, RIPEMD160Final -
       RIPEMD-160 hash function

SYNOPSIS
        #include 

        unsigned char *RIPEMD160(const unsigned char *d, unsigned long n,
                         unsigned char *md);

        void RIPEMD160Init(RIPEMD160CTX *c);
        void RIPEMD160Update(RIPEMDCTX *c, const void *data,
                         unsigned long len);
        void RIPEMD160Final(unsigned char *md, RIPEMD160CTX *c);

DESCRIPTION
       RIPEMD-160 is a cryptographic hash function with a 160 bit output.

       RIPEMD160() computes the RIPEMD-160 message digest of the n bytes at d
       and places it in md (which must have space for RIPEMD160DIGESTLENGTH
       == 20 bytes of output). If md is NUL, the digest is placed in a static
       array.

       The following functions may be used if the message is not completely
       stored in memory:

       RIPEMD160Init() initializes a RIPEMD1600CTX structure.

       RIPEMD160Update() can be called repeatedly with chunks of the message
       to be hashed (len bytes at data).

       RIPEMD160Final() places the message digest in md, which must have
       space for RIPEMD160DIGESTLENGTH == 20 bytes of output, and erases the
       RIPEMD1600CTX.

       Applications should use the higher level functions EVPDigestInit(3)
       etc. instead of calling the hash functions directly.

RETURN VALUES
       RIPEMD160() returns a pointer to the hash value.

       RIPEMD160Init(), RIPEMD160Update() and RIPEMD160Final() do not
       return values.

CONFORMING TO
       ISO/IEC 10118-3 (draft) (??)

SEE ALSO
       sha(3), hmac(3), EVPDigestInit(3)

HISTORY
       RIPEMD160(), RIPEMD160Init(), RIPEMD160Update() and RIPEMD160Final()
       are available since SLeay 0.9.0.



0.9.7l                            2000-02-25                         ripemd(3)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™