qudoku 0.1.1

Shamir Secret Sharing implementation, including a novel nested threshold secret system to complement existing SSS groups.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Represents a polynomial evaluation at a certain input and output, which
/// may be of different types.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub struct Evaluation<I, O> {
    pub input: I,
    pub output: O,
}

impl<I, O> Evaluation<I, O> {
    pub fn new(input: I, output: O) -> Self {
        Evaluation { input, output }
    }
}