summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-nixio/docsrc/nixio.crypto.lua
blob: 158d0fc0bd9f6060b79b67ce821a86566c71493a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- 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