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.26 kB
module.exports = { p: '18294254182871463215818715978719801361226420417500443717917143554001756859868729358416787533148713105926112965868265581934824944828982683774682825732712558696325513602472541748365187928929143643972407175781349619380482063218388612661468368223460764982097917010722712584116383347816125520753299932083033543822782338031838761527323741692433785513018432920385422544852835072244606770732130013248806268559560073064185594080857158361631865238923260311738471512252216249114557829838779441810575392866330943345087767370089637180277225398089697269047154218112011337942115897389198994497272177237330847352564676350779029779927', q: '9147127091435731607909357989359900680613210208750221858958571777000878429934364679208393766574356552963056482934132790967412472414491341887341412866356279348162756801236270874182593964464571821986203587890674809690241031609194306330734184111730382491048958505361356292058191673908062760376649966041516771911391169015919380763661870846216892756509216460192711272426417536122303385366065006624403134279780036532092797040428579180815932619461630155869235756126108124557278914919389720905287696433165471672543883685044818590138612699044848634523577109056005668971057948694599497248636088618665423676282338175389514889963'}