Merge pull request #243 from lemoer/pr_lua_hash_license
lua-hash: add license
This commit is contained in:
commit
0229863094
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-FileCopyrightText: 2016-2021 Leonardo Mörlein <git@irrelefant.net>
|
||||||
|
// SPDX-License-Identifier: MIT License
|
||||||
#include <libubox/md5.h>
|
#include <libubox/md5.h>
|
||||||
|
|
||||||
#include <lua.h>
|
#include <lua.h>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
#!/usr/bin/lua
|
#!/usr/bin/lua
|
||||||
|
|
||||||
|
-- SPDX-FileCopyrightText: 2016-2021 Leonardo Mörlein <git@irrelefant.net>
|
||||||
|
-- SPDX-License-Identifier: MIT License
|
||||||
|
|
||||||
hash = require "hash"
|
hash = require "hash"
|
||||||
assert(hash.md5('testing') == 'ae2b1fca515949e5d54fb22b8ed95575')
|
assert(hash.md5('testing') == 'ae2b1fca515949e5d54fb22b8ed95575')
|
||||||
|
|
Loading…
Reference in New Issue