GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HASH(3lua) Lua Library Functions Manual HASH(3lua)

new, update, digest, hexdigestLua Cryptographic hash module.

The built-in cryptographic hashing Lua bindings for the are available via the hash table.

The following hashing schemes are supported by the hash module.

  • sha256

(data)
Compute a digest based on the data.
() data
Using the current digest, process data to compute a new digest as if all prior data had been concatenated together.
()
Return the hashed digest as a binary array. This resets the context.
()
Take digest() and convert it to an upper case hex string. This resets the context.
digest_size
Return the size of the digest, in bytes.
block_size
Return the block size used in bytes.

sha256(3)

The new man page was written by Warner Losh <imp@FreeBSD.org>.

February 6, 2024 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.