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.27 kB
module.exports = { p: '27556557769497810090445417458278111269072765946021628195081181347863047279399496856587489082184664428454860408714565849869354177144934606051210666020460988181662892384080562990533169518789865312186161007741262294600322857552571664618585269797567649988129980864688177665802731906862220461178370722399860105795025472589800498643990912017768293607572815338692643726985182291541501966862030783759014794989809625010160740928731663539999900829645754176241136481293052376076032689595331225592296178159093295142082810856260115694593753851184737352871744203710282278325749245589221014841095806967257449374389931612401813166119', q: '13778278884748905045222708729139055634536382973010814097540590673931523639699748428293744541092332214227430204357282924934677088572467303025605333010230494090831446192040281495266584759394932656093080503870631147300161428776285832309292634898783824994064990432344088832901365953431110230589185361199930052897512736294900249321995456008884146803786407669346321863492591145770750983431015391879507397494904812505080370464365831769999950414822877088120568240646526188038016344797665612796148089079546647571041405428130057847296876925592368676435872101855141139162874622794610507420547903483628724687194965806200906583059'}