Contents:
ShamirSecretSharingScheme
ShamirSecretSharingScheme.__eq__()
ShamirSecretSharingScheme.__init__()
ShamirSecretSharingScheme.serialize()
ShamirSecretSharingScheme.share_secret()
ShamirSecretSharingScheme.van_der_monde
ShamirShares
ShamirShares.__add__()
ShamirShares.__mul__()
ShamirShares.__rmul__()
ShamirShares.__str__()
ShamirShares.__sub__()
ShamirShares.reconstruct_secret()
ShamirShares.serialize()
IntegerShares
IntegerShares.__add__()
IntegerShares.__mul__()
IntegerShares.__rmul__()
IntegerShares.reconstruct_secret()
IntegerShares.serialize()
ShamirSecretSharingIntegers
ShamirSecretSharingIntegers.__eq__()
ShamirSecretSharingIntegers.__init__()
ShamirSecretSharingIntegers.serialize()
ShamirSecretSharingIntegers.share_secret()
ShamirSecretSharingIntegers.van_der_monde
mult_list()
Useful functions for the shamir module.
Utility function to multiply a list of numbers in a modular group
list – list of elements
modulus (int) – modulus to be applied, use 0 for no modulus
int
product of the elements in the list modulo the modulus