Annotate

libs/hashes.lua @ 129:c0be31a5ff55

libs.hashes: Pure-Lua util.hashes replacement (depends on util.sha1)
author Matthew Wild <mwild1@gmail.com>
date Mon, 13 Sep 2010 14:46:36 +0100
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 };