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
JavaScript
module.exports = { p: '4121584007925117098776208544666267372802440180524308812735534241463494457401485982932647771678259656865217112225116164253243814016941366426974503760890247313045649790611595155975287340083624306783643870507695699679061824186550971914731159228968195456703459839365158337158356718486754775431496205443656943167684270984337546180096630955409794296974521052175506973512961348573721071735001096020810960582143930418822446979757181737909717249197371439324737972606817933693335482409199805708506457226624309152270331952556354424464612409307128820582524382182766861546025856183430165284512351407682268657891389307021986504889029567440580769307193637451302256795034243533432194139189676043579975337588274619872325789835863312765395164442060511663005594435161833498374524417300314744927791014450210181932012293983310019701026283501756953342177825716606231864619560107784466832289233169921950769677778652031755304199499272643285740745019', q: '2060792003962558549388104272333133686401220090262154406367767120731747228700742991466323885839129828432608556112558082126621907008470683213487251880445123656522824895305797577987643670041812153391821935253847849839530912093275485957365579614484097728351729919682579168579178359243377387715748102721828471583842135492168773090048315477704897148487260526087753486756480674286860535867500548010405480291071965209411223489878590868954858624598685719662368986303408966846667741204599902854253228613312154576135165976278177212232306204653564410291262191091383430773012928091715082642256175703841134328945694653510993252444514783720290384653596818725651128397517121766716097069594838021789987668794137309936162894917931656382697582221030255831502797217580916749187262208650157372463895507225105090966006146991655009850513141750878476671088912858303115932309780053892233416144616584960975384838889326015877652099749636321642870372509'}