Struct ntru::types::PublicKey [] [src]

#[repr(C)]
pub struct PublicKey { /* fields omitted */ }

NTRU encryption public key

Methods

impl PublicKey
[src]

Get the q parameter of the PublicKey

Get the h parameter of the PublicKey

Import a public key

Export public key

Trait Implementations

impl Debug for PublicKey
[src]

Formats the value using the given formatter.

impl PartialEq for PublicKey
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for PublicKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for PublicKey
[src]

Returns the "default value" for a type. Read more