mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
23 lines
640 B
Lua
23 lines
640 B
Lua
|
local Lockbox = {};
|
||
|
|
||
|
--[[
|
||
|
package.path = "./?.lua;"
|
||
|
.. "./cipher/?.lua;"
|
||
|
.. "./digest/?.lua;"
|
||
|
.. "./kdf/?.lua;"
|
||
|
.. "./mac/?.lua;"
|
||
|
.. "./padding/?.lua;"
|
||
|
.. "./test/?.lua;"
|
||
|
.. "./util/?.lua;"
|
||
|
.. package.path;
|
||
|
--]]
|
||
|
Lockbox.ALLOW_INSECURE = true;
|
||
|
|
||
|
Lockbox.insecure = function()
|
||
|
assert(Lockbox.ALLOW_INSECURE,
|
||
|
"This module is insecure! It should not be used in production." ..
|
||
|
"If you really want to use it, set Lockbox.ALLOW_INSECURE to true before importing it");
|
||
|
end
|
||
|
|
||
|
return Lockbox;
|