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: '738098225673677202274020910444425827671534126671985743360360269435444675175386942579300311596697156646542836253119789646073611552055881898288209198492803903244142559122292341267567944832361182868073161756197202088990300173384936718506441442507306342660506288703433384757257535340332908634728948783786719554130068750224461479330721313570004618898681413793355360798456921631795740529035121586714737409470339756927033908340553101152259302095501365533896819310755222747037551711633765728615528879512297373207030226917900836957343205712350266021832954192061550557545079352457389114288059119286410270979285977446261637656195353079332574383756925702923876292715119420592969517785389725421080753774145159555447858365882090179724296589881371916165917215125349920678449810528863295188039279690159263524049811254586485223621444057841566687895983054965986593030538893636853477688770239962273403184844829428927513179632340514126554142068916715154758792671859927381824781929876047852137867704339857149724675027482672637033865191555775380491476544440831775003613201360661674818035438470833544250025319491315341602501409555743753145235335816419946866644769859616750199963958806069145138970312495815803851076853857642084121222291070009378737487360519', q: '369049112836838601137010455222212913835767063335992871680180134717722337587693471289650155798348578323271418126559894823036805776027940949144104599246401951622071279561146170633783972416180591434036580878098601044495150086692468359253220721253653171330253144351716692378628767670166454317364474391893359777065034375112230739665360656785002309449340706896677680399228460815897870264517560793357368704735169878463516954170276550576129651047750682766948409655377611373518775855816882864307764439756148686603515113458950418478671602856175133010916477096030775278772539676228694557144029559643205135489642988723130818828097676539666287191878462851461938146357559710296484758892694862710540376887072579777723929182941045089862148294940685958082958607562674960339224905264431647594019639845079631762024905627293242611810722028920783343947991527482993296515269446818426738844385119981136701592422414714463756589816170257063277071034458357577379396335929963690912390964938023926068933852169928574862337513741336318516932595777887690245738272220415887501806600680330837409017719235416772125012659745657670801250704777871876572617667908209973433322384929808375099981979403034572569485156247907901925538426928821042060611145535004689368743680259'}