shamir.utils module
Useful functions for the shamir module.
- shamir.utils.mult_list(list_, modulus=0)[source]
Utility function to multiply a list of numbers in a modular group
- Parameters:
-
- Return type:
int
- Returns:
product of the elements in the list modulo the modulus