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 4.96 kB
module.exports = { p: '747587762311382221972826665877369986604758504863174259234144152429154686762380579523771990909313065908384132181246916795781515006369501803801809486974184534551032131843490083927687692703221393386199572172608909322183240945070941522404746675668719967216842956370632637868733475675371799136331328847969896425324762552334923772633341453220459011122711879673606177978386422675709034740785381190654265392689033159059578736218880581588143855852258078255829841999942905548883104046713512489516864376359275317056290720749142290358516020150046601779593235921261412268868711004838417081097064202121737980133041161577000567253990946422862252359184624327248365398235422063142288405436730832096128346387359243395483149458314870999362847073617509204311746512018400417132656568782859756886336967249131977974420388149011978343322911464124478705138387901307229807084088654535986517306740097742878991571270711354263566030013631144797963527203068558622680758675246006836238159931570654831778035565974667265873075380182929964162215716116836041281595298448467289490845522047260810829852340082916723469079441525433232965817987895474031042388252269719769781894297058494946169074221083259020295663701621497109357794607386253016033164744792868628361919616316323833651135173299081806691739380694723164199844591928598590782602907791598695809441558976739204377567767496968230263113012622189203526625736634241569100788195768826182519785205742999556059801063246282125281348648914525965585484330047436488770879159642439981644862054101972840146373822013246557075328936007599091574233460418016003585125829608853258074364688111366513857948898924055494845904973870614813748267495652392813349415477877340261902888616393266595318321557854500593254979935584985895331712101380943872409601340315266800109093456226489773442970590691475922980515087700405374708038133214916982352908046708955439552289306142178827187577660011922490733637462953793773059240513573381573200201511286276570730520134111030265012875460412534260478662849552238371864886334844710590340920945502912770921093771837349263625162509254988044121214732141241772181161053054101434211789551312155497964445237851203675366347073773061667630560293677989808176712212461040341040214978120484318844289415864447847969788530886283060559204473034182907421923157504920763650802009199536649809179289600509734819682750607872136837429471279059760577833012616479921737578228708541574429184571338241601005509568328365678460324147315812929109813472485864007659', q: '373793881155691110986413332938684993302379252431587129617072076214577343381190289761885995454656532954192066090623458397890757503184750901900904743487092267275516065921745041963843846351610696693099786086304454661091620472535470761202373337834359983608421478185316318934366737837685899568165664423984948212662381276167461886316670726610229505561355939836803088989193211337854517370392690595327132696344516579529789368109440290794071927926129039127914920999971452774441552023356756244758432188179637658528145360374571145179258010075023300889796617960630706134434355502419208540548532101060868990066520580788500283626995473211431126179592312163624182699117711031571144202718365416048064173193679621697741574729157435499681423536808754602155873256009200208566328284391429878443168483624565988987210194074505989171661455732062239352569193950653614903542044327267993258653370048871439495785635355677131783015006815572398981763601534279311340379337623003418119079965785327415889017782987333632936537690091464982081107858058418020640797649224233644745422761023630405414926170041458361734539720762716616482908993947737015521194126134859884890947148529247473084537110541629510147831850810748554678897303693126508016582372396434314180959808158161916825567586649540903345869690347361582099922295964299295391301453895799347904720779488369602188783883748484115131556506311094601763312868317120784550394097884413091259892602871499778029900531623141062640674324457262982792742165023718244385439579821219990822431027050986420073186911006623278537664468003799545787116730209008001792562914804426629037182344055683256928974449462027747422952486935307406874133747826196406674707738938670130951444308196633297659160778927250296627489967792492947665856050690471936204800670157633400054546728113244886721485295345737961490257543850202687354019066607458491176454023354477719776144653071089413593788830005961245366818731476896886529620256786690786600100755643138285365260067055515132506437730206267130239331424776119185932443167422355295170460472751456385460546885918674631812581254627494022060607366070620886090580526527050717105894775656077748982222618925601837683173536886530833815280146838994904088356106230520170520107489060242159422144707932223923984894265443141530279602236517091453710961578752460381825401004599768324904589644800254867409841375303936068418714735639529880288916506308239960868789114354270787214592285669120800502754784164182839230162073657906464554906736242932003829'}