Static
decryptDecrypt the ciphertext using uncompressed public parameters.
Must be same as the one used during setup to create the parameters.
Static
decryptSame as decryptCiphertext
but uses compressed parameters.
Must be same as the one used during setup to create the parameters.
Static
setupCreate the secret key, encryption and decryption keys and the setup the SNARK.
Optional
chunkBitSize: numberA number that is either 4 or 8 or 16. The higher numbers make for faster encryption and proving but slower decryption. Since decryption is less common and usually done by less resource constrained devices, 16 is the default choice and should be good for most applications
Actions done by the decryptor