lua-hash: add license

This commit is contained in:
lemoer 2021-04-11 20:31:34 +02:00
parent 3822f44013
commit f3b0c5ac20
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2016-2021 Leonardo Mörlein <git@irrelefant.net>
// SPDX-License-Identifier: MIT License
#include <libubox/md5.h>
#include <lua.h>

View File

@ -1,3 +1,7 @@
#!/usr/bin/lua
-- SPDX-FileCopyrightText: 2016-2021 Leonardo Mörlein <git@irrelefant.net>
-- SPDX-License-Identifier: MIT License
hash = require "hash"
assert(hash.md5('testing') == 'ae2b1fca515949e5d54fb22b8ed95575')