opnsense-src/lib/flua/libhash
Warner Losh ae8398452b flua: Add hash module
Add lua bindings to hashing functions. sha256 is available. sha256.new
craetes a new object. sha256.update updates the digest. sha256.digest
returns the digest as a binary string and resets the
context. sha256.hexdigest returns the digest as a string of hex digits
and then resets the cotnext.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D43872

(cherry picked from commit f7781d030ccd18b1d4c864ecfade122ea19dafb1)
2024-04-16 13:54:20 -06:00
..
hash.3lua
lhash.c
lhash.h
Makefile