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: '28445027498439056026184796847450857106084370201852673521386228360290467666903053053619322335625722788666824000170293180896712464562026414459579450909571125988054044663707298079921321627410029995989574545998092046529248516878866362887081647060070744919582975390473579217522816837425941493158743816576354514282898844725881790937547876241361358489531191489087939721001057337641720154790107261239794203442136220285143958533380764272929622302955305268368690392259100606678914994313556368357924244403924095332347326727680986758539329632193289341452525870013949474368841876740966833875670224620123990258277443802801178580739', q: '14222513749219528013092398423725428553042185100926336760693114180145233833451526526809661167812861394333412000085146590448356232281013207229789725454785562994027022331853649039960660813705014997994787272999046023264624258439433181443540823530035372459791487695236789608761408418712970746579371908288177257141449422362940895468773938120680679244765595744543969860500528668820860077395053630619897101721068110142571979266690382136464811151477652634184345196129550303339457497156778184178962122201962047666173663363840493379269664816096644670726262935006974737184420938370483416937835112310061995129138721901400589290369'}