/usr/share/gtk-doc/html/libgwyddion/libgwyddion-gwymd5.html is in libgwyddion20-doc 2.26-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gwymd5</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Gwyddion Library Reference Manual">
<link rel="up" href="index.html" title="Gwyddion Library Reference Manual">
<link rel="prev" href="GwyStringList.html" title="GwyStringList">
<link rel="next" href="libgwyddion-gwydebugobjects.html" title="gwydebugobjects">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GwyStringList.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td> </td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Gwyddion Library Reference Manual</th>
<td><a accesskey="n" href="libgwyddion-gwydebugobjects.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgwyddion-gwymd5.synopsis" class="shortcut">Top</a>
|
<a href="#libgwyddion-gwymd5.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libgwyddion-gwymd5"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgwyddion-gwymd5.top_of_page"></a>gwymd5</span></h2>
<p>gwymd5 — Compute MD5 digest</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgwyddion-gwymd5.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libgwyddion/gwyddion.h>
<span class="returnvalue">void</span> <a class="link" href="libgwyddion-gwymd5.html#gwy-md5-get-digest" title="gwy_md5_get_digest ()">gwy_md5_get_digest</a> (<em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> buffer_size</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> digest[16]</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgwyddion-gwymd5.description"></a><h2>Description</h2>
<p>
MD5 (<a class="ulink" href="http://www.faqs.org/rfcs/rfc1321.html" target="_top">RFC1321</a>) is
a reasonably fast digest function. It can be used for hash key creation and
fast data indexing, but should be no longer used for cryptographic and
security purposes.
</p>
</div>
<div class="refsect1">
<a name="libgwyddion-gwymd5.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="gwy-md5-get-digest"></a><h3>gwy_md5_get_digest ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_md5_get_digest (<em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> buffer_size</code></em>,
<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> digest[16]</code></em>);</pre>
<p>
Compute the MD5 hash of a buffer.
</p>
<p>
The MD5 algorithm takes as input a message of arbitrary length and
produces as output a 128-bit "fingerprint" or "message digest" of
the input. For more information see RFC 1321.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
<td>A byte buffer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer_size</code></em> :</span></p></td>
<td>Size of <em class="parameter"><code>buffer</code></em> (in bytes) or -1 if <em class="parameter"><code>buffer</code></em> is nul-terminated.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>digest</code></em> :</span></p></td>
<td>16 bytes to store the hash code to.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.8</div>
</body>
</html>
|