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 1.88 kB
module.exports = { p: '3183476930415280798285784201115378529168069998450532204239088413379541568385484700126175208307380433022123151130498488058985404472282151140470918132487599560427762521014380422701506086232467228182531452229255539777259367226397241083561741987881627295013854613474887142247110950273626738204512945034912621176436089732370926473920788712730398476187860073548744141105322817605003263304459676671568539644097060523463951482998736492580196214555035139982252723498717730619549733324160126798644558896958439182962894986199946448941437612946989280125876825149664253081400103181038103513859906625518574951178359083647508501914501807531323440731403412352147453868298072487116378940260678771899513965035593665063028861729588322563810632170412754352404204050046005690962653507615863258539728579994080330535993444372762143753316037721330990250948592954681596638165049644776104225524766877178336932476341317285928409351344994797762231218123', q: '1591738465207640399142892100557689264584034999225266102119544206689770784192742350063087604153690216511061575565249244029492702236141075570235459066243799780213881260507190211350753043116233614091265726114627769888629683613198620541780870993940813647506927306737443571123555475136813369102256472517456310588218044866185463236960394356365199238093930036774372070552661408802501631652229838335784269822048530261731975741499368246290098107277517569991126361749358865309774866662080063399322279448479219591481447493099973224470718806473494640062938412574832126540700051590519051756929953312759287475589179541823754250957250903765661720365701706176073726934149036243558189470130339385949756982517796832531514430864794161281905316085206377176202102025023002845481326753807931629269864289997040165267996722186381071876658018860665495125474296477340798319082524822388052112762383438589168466238170658642964204675672497398881115609061'}