On Fri, Jul 13, 2018 at 07:57:41AM -0700, Jeffrey Walton wrote: > On Friday, July 13, 2018 at 9:43:24 AM UTC-4, Vadym Fedyukovych wrote: > > > > Hi, > > ' > > may I ask for status of negative Integer please? > > I'm interested in modular exponentiation in the first place. > > > > I'm using conditional MultiplicativeInverse() at the moment. > > What is best practice? > > Any pointers to actually fix the issue please? > > > > What issue? > > We have a wiki page at https://www.cryptopp.com/wiki/Integer that might be > useful.
Ok, not sure whether this is an issue or a feature. if(pwr < 0) e = ModularArithmetic.Exponentiate( -pwr) result = .MultiplicativeInverse(e) else result = ModularArithmetic.Exponentiate(pwr) Thank you, Vadym -- You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
