utilities for multi-way secret sharing
