UNPKG

snarkyjs-elgamal

Version:

This repository implements Elgmal, a partial homomorphic encryption scheme originally described by [Taher Elgamal in 1985](https://caislab.kaist.ac.kr/lecture/2010/spring/cs548/basic/B02.pdf). This implementation includes the original version of Elgamal,

24 lines (23 loc) 651 B
{ "compilerOptions": { "target": "es2020", "module": "es2022", "lib": ["dom", "esnext"], "outDir": "./build", "rootDir": ".", "strict": true, "strictPropertyInitialization": false, // to enable generic constructors, e.g. on CircuitValue "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "esModuleInterop": true, "moduleResolution": "node", "experimentalDecorators": true, "emitDecoratorMetadata": true, "allowJs": true, "declaration": true, "sourceMap": true, "noFallthroughCasesInSwitch": true, "allowSyntheticDefaultImports": true }, "include": ["./src"] }