Skip to content

Files

Latest commit

author
bario
Mar 13, 2020
a3a0380 · Mar 13, 2020

History

History
185 lines (141 loc) · 4.69 KB

README.md

File metadata and controls

185 lines (141 loc) · 4.69 KB
<title>Zenroom LUA</title>

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.

BIG

Big Number Arithmetic (BIG)

Base arithmetical operations on big numbers.

Examples

keygen.lua
crypt-to-multi.lua
generated by LDoc 1.4.6 Last updated 2020-03-13 12:59:05