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