0
0
mirror of https://github.com/openwrt/luci.git synced 2025-02-07 01:10:00 +00:00
luci/libs/luci-lib-nixio/docsrc/nixio.crypto.lua
Jo-Philipp Wich 1bb4822dca Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00

15 lines
361 B
Lua

--- Cryptographical library.
module "nixio.crypto"
--- Create a hash object.
-- @class function
-- @name nixio.crypto.hash
-- @param algo Algorithm ["sha1", "md5"]
-- @return CryptoHash Object
--- Create a HMAC object.
-- @class function
-- @name nixio.crypto.hmac
-- @param algo Algorithm ["sha1", "md5"]
-- @param key HMAC-Key
-- @return CryptoHash Object