dyne / Zenroom

Embedded no-code VM executing human-like language to manipulate data and process cryptographic operations.
https://dev.zenroom.org
GNU Affero General Public License v3.0
197 stars 64 forks source link

Feat/random seed #916

Closed jaromil closed 2 months ago

jaromil commented 2 months ago

This small PR adds the random_seed(OCTET) global Lua function that allows to re-seed the PRNG in Zenroom at any moment during runtime.

It also improves an error message in the JSON pre-parser and updates a bit the random generation code.

At last it adds the new BBS+ benchmark on which I'm working for this article https://news.dyne.org/benchmark-of-the-bbs-signature-scheme-v06/