def mpow

bend-collections@1.0.0.0 · spec/crypto/secp256k1/field.bend:59

import bend-collections@1.0.0.0/spec/crypto/secp256k1/field.bend as Field
import Base

59def mpow(+m: Nat, a: Nat, e: Nat) -> Nat:
60  Nat.mod(Nat.pow(a, e), m)

Uses (3)

Used by (2)