[commit #9866] jQuery SHA1 plugin documentation - initial submission

55 views
Skip to first unread message

s...@tiddlywiki.org

unread,
Jun 15, 2009, 9:54:12 AM6/15/09
to
http://trac.tiddlywiki.org/changeset/9866

MartinBudden
2009-06-15 13:54:12 +0000 (Mon, 15 Jun 2009)
53
jQuery SHA1 plugin documentation - initial submission

---------------

A Trunk/core/jquery/plugins/doc/jQuery.encoding.digests.sha1.html

---------------

Added: Trunk/core/jquery/plugins/doc/jQuery.encoding.digests.sha1.html
===================================================================
--- Trunk/core/jquery/plugins/doc/jQuery.encoding.digests.sha1.html (rev 0)
+++ Trunk/core/jquery/plugins/doc/jQuery.encoding.digests.sha1.html 2009-06-15 13:54:12 UTC (rev 9866)
@@ -0,0 +1,45 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>jQuery.encoding.digests.sha1</title>
+ <link rel="stylesheet" type="text/css" href="styles/main.css">
+</head>
+
+<body>
+ <h1>
+ <a href="http://jquery.tiddlywiki.org/jQuery.encoding.digests.sha1.html">jQuery.encoding.digests.sha1</a>
+ </h1>
+ <p>
+ This <a href="http://jquery.com">jQuery</a> plugin implements the SHA-1 cryptographic hash function.
+ </p>
+
+ <h2>Source</h2>
+ <p>
+ The source code is currently hosted in TiddlyWiki's
+ <a href="http://svn.tiddlywiki.org/Trunk/core/jquery/plugins/jQuery.encoding.digests.sha1.js">Subversion repository</a>.
+ </p>
+ <p>
+ <a href="http://groups.google.com/group/TiddlyWikiDev/">Feedback</a> is welcome.
+ </p>
+
+ <h2>API</h2>
+ <ul>
+ <li>
+ <p><code>$.encoding.digests.hexSha1Str(str)</code>: Return, in hex, the SHA-1 hash of a string</p>
+ </li>
+ <li>
+ <p><code>$.encoding.digests.sha1Str(str)</code>: Return the SHA-1 hash of a string</p>
+ </li>
+ <li>
+ <p><code>$.encoding.digests.sha1(x,blen)</code>: Calculate the SHA-1 hash of an array of blen bytes of big-endian 32-bit words</p>
+ </li>
+ </ul>
+ <p>(full documentation in the code comments)</p>
+
+ <h2>Demo</h2>
+ [...]
+</body>
+
+</html>

Reply all
Reply to author
Forward
0 new messages