Annotate

libs/hashes.lua @ 144:46e933d81024

docs/example_jingle.lua: Update to use content.type instead of content.name for checking the kind of content we're receiving
author Matthew Wild <mwild1@gmail.com>
date Fri, 17 Sep 2010 16:42:50 +0100
parent 129:c0be31a5ff55
child 389:bf3a4fcdcb76
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
129
c0be31a5ff55 libs.hashes: Pure-Lua util.hashes replacement (depends on util.sha1)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 local sha1 = require "util.sha1";
c0be31a5ff55 libs.hashes: Pure-Lua util.hashes replacement (depends on util.sha1)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2
c0be31a5ff55 libs.hashes: Pure-Lua util.hashes replacement (depends on util.sha1)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 return { sha1 = sha1.sha1 };