sarkara::kex
pub struct PrivateKey(pub Key<[u16; 1024]>);
Newhope private key.
impl<T> TryFrom<T> for PrivateKey where T: AsRef<[u8]>
type Err = Error
try_from
The type returned in the event of a conversion error.
fn try_from(input: T) -> Result<Self>
Performs the conversion.