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: '674517791295924240787885970210621925602256302055708569067576852470064660496274011001473981516518574510402024900484750045855597148947686874704306911163490139398854627246356556503725747682919312210000982422369285690133285631981961772186031841733015751697177669917541102643978578529891007675282876415912681563249997464491955781861555408386528544498536204738838564501487576945589930775873611758651573330372115313324559539853091209525331795338233299156826531666038272650199697173501242247732968335125460643743800285709225335249711292683157517567056853192763875863026941465680298526104439017741115145325542917448158136497212815172729647085954603003724901964218057089717666080578308724039124430301401794077566131166080481145394635941151614979873575076429772002737220424394898704654395599775576927425588329381430292308374951050950989705141754155065701298735854104158669253166949412114265683312490927486368781946698186494145924002279477747935609229989599114825708562659859227760694147541725956575137404817968925230709034624912644403810880740749375029784462043361463372264746950051792378559002376935435031447311079909330864007503092892354717368134972678656105744366361111044454794158901079492504704571297324391960573416562806392591961662380479', q: '337258895647962120393942985105310962801128151027854284533788426235032330248137005500736990758259287255201012450242375022927798574473843437352153455581745069699427313623178278251862873841459656105000491211184642845066642815990980886093015920866507875848588834958770551321989289264945503837641438207956340781624998732245977890930777704193264272249268102369419282250743788472794965387936805879325786665186057656662279769926545604762665897669116649578413265833019136325099848586750621123866484167562730321871900142854612667624855646341578758783528426596381937931513470732840149263052219508870557572662771458724079068248606407586364823542977301501862450982109028544858833040289154362019562215150700897038783065583040240572697317970575807489936787538214886001368610212197449352327197799887788463712794164690715146154187475525475494852570877077532850649367927052079334626583474706057132841656245463743184390973349093247072962001139738873967804614994799557412854281329929613880347073770862978287568702408984462615354517312456322201905440370374687514892231021680731686132373475025896189279501188467717515723655539954665432003751546446177358684067486339328052872183180555522227397079450539746252352285648662195980286708281403196295980831190239'}