she 0.4.0

Starknet homomorphic encryption library for the starknet curve

Readme

The Starknet Homomorphic Encryption (SHE) library provides low-level cryptographic primitives for ElGamal encryption and zero-knowledge proof systems over the Stark elliptic curve.

Implemented zero-knowledge proofs:

  • POE: Proof of Exponent (knowledge of discrete log)
  • POE2: Proof of double exponent
  • POEN: Proof of N exponents
  • Bit: Proof that committed value is 0 or 1
  • Range: Proof that value is in [0, 2^n)
  • ElGamal: Proof that a given ciphertext is a correct ElGamal encryption
  • SameEncryption: Proof that two ciphertexts encrypt the same value

Metadata

Version 0.4.0

Uploaded 1 week ago

License Apache-2.0

Cairo version ^2.12.2

Size 8.3 KB

Installation

Run the following command in your project dir

scarb add she@0.4.0

Or add the following line to your Scarb.toml

she = "0.4.0"

Monthly downloads

Links

Keywords

  • zk
  • homomorphic
  • encryption
  • ElGamal
  • fatsolutions

Owners