HomeFreeBSD

flua: Add hash module

Description

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

Details

Provenance
impAuthored on Feb 16 2024, 3:54 AM
Differential Revision
D43872: flua: Add hash module
Parents
rG0fd98b8a7691: loader: Move drawer.lua over to gfx table.
Branches
Unknown
Tags
Unknown