MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / mulinv

Method mulinv

modules/crypt/arith/modular.js:58–60  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

56 return a * a % this.m; // can be optimized
57 }
58 mulinv(a) {
59 return this._mulinv_general(a, this.m);
60 }
61 _mulinv_general(a, m) @ "xs_mod2_mulinv_general";
62 _mulinv_euclid(a, m) @ "xs_mod2_mulinv_euclid";
63 exp(a, e) {

Callers 6

testFunction · 0.95
_signMethod · 0.80
_verifyMethod · 0.80
_signMethod · 0.80
_verifyMethod · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by 1

testFunction · 0.76