Software / code / verse
Annotate
libs/hashes.lua @ 240:e27bf761bea6
verse: set_log_handler(): Allow nil to be passed for log_handler to disable logging (the default).
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 27 Nov 2011 22:50:21 +0000 |
| parent | 129:c0be31a5ff55 |
| child | 389:bf3a4fcdcb76 |
| 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 }; |