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: '901986304843857910382322161805273105665234615822671574514366880915444938531452994558643425820962155320762552485717569392081254181545980083818738332919759002789255145296882616275002002289208276221546794484300593317209781907192584071548070483368088419403178844506022003804541419719823159325315281992316883347076095092387131835946090575936352979279301118596118283072001527412873971561923676529698064422803238947462932806704800502245804376610692443838668555376093711744608019356491475393930739857633299517303709249595501000524839913366336791617356216632928938933621377113343191780387088198820765759058269015997423208341640806239499615726319831412960918887463864779399916203290282704364190857546556449406127248574325056553097825016173047915744974696935553254463829132533347818448278336942351753096119746775920016367172379012773826368997569751772987997365352157690186100254738431631338372864839305377873866460110471366613890830971613349010494983230599486348269734636867839701237291314918405925224015368967449804485198975016668427214871413385716148770406495805742097486513051726036762315079957961496874733259978428813679049971324352510163694933062066435546127835164964763306410589060880598387157651980627161836869087618404557983867013431839', q: '450993152421928955191161080902636552832617307911335787257183440457722469265726497279321712910481077660381276242858784696040627090772990041909369166459879501394627572648441308137501001144604138110773397242150296658604890953596292035774035241684044209701589422253011001902270709859911579662657640996158441673538047546193565917973045287968176489639650559298059141536000763706436985780961838264849032211401619473731466403352400251122902188305346221919334277688046855872304009678245737696965369928816649758651854624797750500262419956683168395808678108316464469466810688556671595890193544099410382879529134507998711604170820403119749807863159915706480459443731932389699958101645141352182095428773278224703063624287162528276548912508086523957872487348467776627231914566266673909224139168471175876548059873387960008183586189506386913184498784875886493998682676078845093050127369215815669186432419652688936933230055235683306945415485806674505247491615299743174134867318433919850618645657459202962612007684483724902242599487508334213607435706692858074385203247902871048743256525863018381157539978980748437366629989214406839524985662176255081847466531033217773063917582482381653205294530440299193578825990313580918434543809202278991933506715919'}