Function threshold_secret_sharing::positivise
[−]
[src]
pub fn positivise(values: &[i64], n: i64) -> Vec<i64>
Map values
from [-n/2, n/2)
to [0, n)
.