Struct ntru::types::NtruEncPubKey
[−]
[src]
pub struct NtruEncPubKey { // some fields omitted }
NtruEncrypt public key
Methods
impl NtruEncPubKey
[src]
fn get_q(&self) -> u16
fn get_h(&self) -> &NtruIntPoly
fn import(arr: &[u8]) -> NtruEncPubKey
Import a public key
fn export(&self, params: &NtruEncParams) -> Box<[u8]>
Export public key
Trait Implementations
impl Clone for NtruEncPubKey
[src]
fn clone(&self) -> NtruEncPubKey
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for NtruEncPubKey
[src]
fn eq(&self, __arg_0: &NtruEncPubKey) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NtruEncPubKey) -> bool
This method tests for !=
.
impl Debug for NtruEncPubKey
[src]
impl Default for NtruEncPubKey
[src]
fn default() -> NtruEncPubKey
Returns the "default value" for a type. Read more