define THRESHOLD_SECRET_SHARING hash rng filters hex