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