在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):kikito/md5.lua开源软件地址(OpenSource Url):https://github.com/kikito/md5.lua开源编程语言(OpenSource Language):Lua 100.0%开源软件介绍(OpenSource Introduction):md5.luaThis pure-Lua module computes md5 in Lua 5.1, Lua 5.2 and LuaJIT, using native bit-manipulation libraries when available, and falling back to table-based manipulation of integers in 5.1. It implements md5.sum and md5.sumhex like the kepler project md5 package, but it's done completely in Lua, with no dependencies on other libs or C files. UsageSimple example:
Incremental example (for computing md5 of streams, or big files which have to be loaded in chunks - new since 1.1.0):
CreditsThis is a cleanup of an implementation by Adam Baldwin - https://gist.github.com/evilpacket/3647908 Which in turn was a mix of the bitwise lib, http://luaforge.net/projects/bit/ by hanzhao ( Lua 5.2 and LuaJIT compatibility by Positive07 A very important fix and the incremental variant by pgimeno LicenseThis library, as well as all the previous ones in which is based, is released under the MIT license (See license file for details). SpecsThe specs for this library are implemented with busted. In order to run them, install busted and then:
InstallEither copy the file or using luarocks:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论