sarkara::kex
pub struct PublicKey(pub [u8; 1824]);
Newhope public key.
impl<'a> TryFrom<&'a [u8]> for PublicKey
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.