Function dark_crystal_secret_sharing_rust::thresold_sanity
source · [−]Expand description
Gives a threshold ‘sanity’ factor, given a threshold and number of shares 0 is ideal. Positive values represent the level of danger of loosing access to the secret. Negative values represent the level of danger of an attacker gaining it.