UNPKG

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 2.5 kB
module.exports = { p: '997030423294843697489400441997713010072208937226912132485252983023014806463004793869555967736562715067201957473200521582296638846825306702469991220327449441730513926195738811236235184588959386204555438424535853405452670113201824481647957207655698693639588405201824718125480773617159459801578782852026036133269596831198206986883801786478060662907960313351200239225664044117551594071150329116286489149024023127117535536365838366765203454188161957236005961196890420310877279609594672380322535073081173039653561217093651047505613746739364272804580761520211546059031371453209016200931930974994065105697837968159988100246409597001876514837832327180449375043300365959477663506379220017459907909340520559069238978927152532279411761704126531594061574500335609239538496348183519595770178947615464930075641405022517237866235485552847549372118341762965470474701198445590348408610623520287600933000400755884610143398058452289361332605567828338346203092053460865740565433129870444778547993123922325768891319666694199207501478809906121386567219576884657574366162873111822044036073815263335970642048994309662122358966764460413266759544572112885478889817526542481576830002206035199553488599743014534679877988690777593678940152808034266779551580485999', q: '498515211647421848744700220998856505036104468613456066242626491511507403231502396934777983868281357533600978736600260791148319423412653351234995610163724720865256963097869405618117592294479693102277719212267926702726335056600912240823978603827849346819794202600912359062740386808579729900789391426013018066634798415599103493441900893239030331453980156675600119612832022058775797035575164558143244574512011563558767768182919183382601727094080978618002980598445210155438639804797336190161267536540586519826780608546825523752806873369682136402290380760105773029515685726604508100465965487497032552848918984079994050123204798500938257418916163590224687521650182979738831753189610008729953954670260279534619489463576266139705880852063265797030787250167804619769248174091759797885089473807732465037820702511258618933117742776423774686059170881482735237350599222795174204305311760143800466500200377942305071699029226144680666302783914169173101546026730432870282716564935222389273996561961162884445659833347099603750739404953060693283609788442328787183081436555911022018036907631667985321024497154831061179483382230206633379772286056442739444908763271240788415001103017599776744299871507267339938994345388796839470076404017133389775790242999'}