Merge pull request #1708 from guidosarducci/lede-17.01-add-luci-isolate-mac80211
[project/luci.git] / libs / luci-lib-nixio / docsrc / nixio.CryptoHash.lua
1 --- Cryptographical Hash and HMAC object.
2 -- @cstyle      instance
3 module "nixio.CryptoHash"
4
5 --- Add another chunk of data to be hashed.
6 -- @class function
7 -- @name CryptoHash.update
8 -- @param chunk Chunk of data
9 -- @return CryptoHash object (self)
10
11 --- Finalize the hash and return the digest.
12 -- @class function
13 -- @name CryptoHash.final
14 -- @usage You cannot call update on a hash object that was already finalized
15 -- you can however call final multiple times to get the digest.
16 -- @return      hexdigest
17 -- @return  buffer containing binary digest