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,

31 lines 1.58 kB
{ "6": "2", "36": "4", "216": "6", "1296": "8", "7776": "10", "46656": "12", "279936": "14", "1679616": "16", "10077696": "18", "60466176": "20", "362797056": "22", "2176782336": "24", "12418654782883325593414442427049395787963493412651469444558597405572177144507": "1", "16615884078641855848701162057952420801054847512025695235442230904733127606368": "3", "12851237543863988524528733591198593916239915626329489264789355135348862747197": "5", "19211380644525833435386909042847609570713380794093814156826777283393241222508": "7", "28424216939167854044643215500569726534191115318738202793096633407309544444037": "9", "25805190088361879988395561742558474388331409502721413178806416622107428512537": "11", "10091028983526035650909639194490961513173174606620675493065115910894732923537": "13", "2650129282498116193672342662601815152312934675840931526481341936668462280548": "15", "15900775694988697162034055975610890913877608055045589158888051620010773683288": "17", "8560587241945036404526097097149414593176478884448852805464279427014739208717": "19", "22415501142341169571263836330724510595695816824751556116830999797738467621965": "21", "18700917616730822004012032975659155720722675020743093837167291729030935210442": "23", "25361438772397785456393959097439003434246880678633880875139720081135708371641": "25", "13060694016": "26", "7428521087741468458900023323774135788666001662095481671064936665064412078161": "27", "78364164096": "28", "15623104217119761897507393690472837768632953490631329310434943226036504838629": "29" }