Documentation of Lua scripting in Zenroom

Zenroom is a portable language interpreter inspired by language-theoretical security and designed to be small, attack-resistant and very portable. Its main use case is distributed computing of untrusted code, for instance it can be used for delicate cryptographic operations. Here is the documentation of the cryptographic primitive functions that are made available by the Lua direct-syntax parser in Zenroom.

For more information see the homepage of this project: Zenroom.org.

Software by Dyne.org

Modules

OCTET

Base data type for cryptographic opearations

Octets are first-class citizens in Zenroom.

HASH

Cryptographic hash functions

An hash is also known as 'message digest', 'digital fingerprint', 'digest' or 'checksum'.

ECDH

Elliptic Curve Diffie-Hellman encryption (ECDH)

Asymmetric public/private key encryption technologies.

ECP

Elliptic Curve Point Arithmetic (ECP)

Base arithmetical operations on elliptic curve point coordinates.

String

String operations

Standard Lua string manipulation like searching and matching.

Table

Table operations

Standard Lua data structure manipulation on maps (key/value) and arrays.

INSPECT

Debug inspection facility

The INSPECT class provides a number of functions to ease development and debugging.

ZEN

Zencode language parser

Zencode is a Domain Specific Language (DSL) made to be understood by humans and inspired by Behavior Driven Development (BDD) and Domain Driven Design (DDD).

BIG

Big Number Arithmetic (BIG)

Base arithmetical operations on big numbers.

Tutorials

Syntax
StateMachine

Examples

keygen.lua
crypt-to-multi.lua
generated by LDoc 1.4.3 Last updated 2019-09-17 17:10:51
]==]