Пример #1
0
def share_secret(k, n, mnem):
    poly = Polynomial(k, n, mnem)
    print("Secret # | Phrase")
    for s in poly.secrets():
        print("{0}          {1}\n".format(s[0], to_phrase(s[1])))