Function lbcrypto::ModInverse

Function Documentation

usint lbcrypto::ModInverse(usint a, usint b)

Multiplicative inverse for primitive unsigned integer data types

Parameters
  • a – the number we need the inverse of.

  • b – the modulus we are working with.

Returns

the multiplicative inverse