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,

57 lines (56 loc) 1.59 kB
{ "name": "snarkyjs-elgamal", "version": "0.0.9", "description": "", "author": "", "license": "Apache-2.0", "homepage": "https://github.com/Trivo25/snarkyjs-elgamal#snarkyjs-elgamal", "keywords": [ "mina-zkapp", "mina-zk-app", "mina-dapp", "zkapp", "elgamal", "homomorphic encryption", "cryptography", "zk", "zkSNARK", "snark", "zero knowledge" ], "type": "module", "main": "build/src/index.js", "types": "build/src/index.d.ts", "scripts": { "build": "tsc", "buildw": "tsc --watch", "coverage": "node --experimental-vm-modules --experimental-wasm-threads node_modules/jest/bin/jest.js --coverage", "format": "prettier --write --ignore-unknown **/*", "test": "node --experimental-vm-modules --experimental-wasm-threads node_modules/jest/bin/jest.js", "testw": "node --experimental-vm-modules --experimental-wasm-threads node_modules/jest/bin/jest.js --watch", "lint": "npx eslint src/* --fix" }, "lint-staged": { "**/*": [ "eslint src/* --fix", "prettier --write --ignore-unknown" ] }, "devDependencies": { "@babel/preset-env": "^7.16.4", "@babel/preset-typescript": "^7.16.0", "@types/jest": "^27.0.3", "@typescript-eslint/eslint-plugin": "^5.5.0", "@typescript-eslint/parser": "^5.5.0", "eslint": "^8.7.0", "eslint-plugin-snarkyjs": "^0.1.0", "jest": "^27.3.1", "lint-staged": "^11.0.1", "prettier": "^2.3.2", "ts-jest": "^27.0.7", "typescript": "^4.7.2" }, "peerDependencies": { "snarkyjs": "^0.9.8" } }