This directory contains sage implementation of PLUME.
To streamline demonstration of PLUME
usage in Noir
, we attach the below scripts.
Generates random 32-byte values of r
and sk
, random message-length dependent msg
and computes other necessary information for ZKP issuing.
Changes MSG_LEN
constant in either crates/use_v1/src/main.nr
or crates/use_v2/src/main.nr
.
Install SageMath by following these instructions.
Select the desired version of plume: either "v1" or "v2", then the number of bytes for msg (non-negative number) and run main.sage
supplying these as CLI arguments, for example:
sage main.sage v2 32