home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Linux / gimp-2.2.0.tar.gz / gimp-2.2.0.tar / gimp-2.2.0 / libgimpmath / gimpmd5.h < prev    next >
C/C++ Source or Header  |  2003-09-27  |  1KB  |  39 lines

  1. /* LIBGIMP - The GIMP Library
  2.  *
  3.  * gimpmd5.h
  4.  *
  5.  * This code implements the MD5 message-digest algorithm.
  6.  * The algorithm is due to Ron Rivest.  This code was
  7.  * written by Colin Plumb in 1993, no copyright is claimed.
  8.  * This code is in the public domain; do with it what you wish.
  9.  *
  10.  * Equivalent code is available from RSA Data Security, Inc.
  11.  * This code has been tested against that, and is equivalent,
  12.  * except that you don't need to include two pages of legalese
  13.  * with every copy.
  14.  *
  15.  * GIMPified 2002 by Sven Neumann <sven@gimp.org>
  16.  */
  17.  
  18. /* parts of this file are :
  19.  * Written March 1993 by Branko Lankester
  20.  * Modified June 1993 by Colin Plumb for altered md5.c.
  21.  * Modified October 1995 by Erik Troan for RPM
  22.  */
  23.  
  24. #ifndef __GIMP_MD5_H__
  25. #define __GIMP_MD5_H__
  26.  
  27. G_BEGIN_DECLS
  28.  
  29. /* For information look into the C source or the html documentation */
  30.  
  31. void gimp_md5_get_digest (const gchar *buffer,
  32.                           gint         buffer_size,
  33.                           guchar       digest[16]);
  34.  
  35.  
  36. G_END_DECLS
  37.  
  38. #endif  /* __GIMP_MD5_H__ */
  39.