basic_simple_elgamal
Version:
This is a cypher engine which uses ElGamal cryptosystem internally. besides cryptography, it provide some group functionality such as add 2 members or select a random group member and so on.
1 lines • 1.88 kB
JavaScript
module.exports = { p: '4909719234230941078601817091750936366450346961101761182442711364157995942872339036345161954942560057750599679212799889343297351431346261378987102616121191231245570259161035050687918727110473305007006698270996616889856805387654702855890144350084583895269478683792849672759485174985289361761246990875847442665056001884918610138715330518115397552664550693239398367384465077847808177128569297786578324699755236407434799469093101659961445854735917609696418327681234465128551572031111760493909724552208295442886975939711078785932997129213369218706115969351106335085536514389939224777209990889247695374713084459245957604394155411518722081244539370894866925552904294699378921349972141995678011734835484950977318737756770705510906554666016152159711101535262180667104782075710780493204960739310957240713723406195907467327625006919341910465180294025119668093558985940052622914573083781037282702005832799235292829292655506677806506743823', q: '2454859617115470539300908545875468183225173480550880591221355682078997971436169518172580977471280028875299839606399944671648675715673130689493551308060595615622785129580517525343959363555236652503503349135498308444928402693827351427945072175042291947634739341896424836379742587492644680880623495437923721332528000942459305069357665259057698776332275346619699183692232538923904088564284648893289162349877618203717399734546550829980722927367958804848209163840617232564275786015555880246954862276104147721443487969855539392966498564606684609353057984675553167542768257194969612388604995444623847687356542229622978802197077705759361040622269685447433462776452147349689460674986070997839005867417742475488659368878385352755453277333008076079855550767631090333552391037855390246602480369655478620356861703097953733663812503459670955232590147012559834046779492970026311457286541890518641351002916399617646414646327753338903253371911'}