Struct ntru::types::KeyPair [] [src]

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

NTRU encryption key pair

Methods

impl KeyPair
[src]

Generate a new key pair

Get params from the key pair

The private key

The public key

Trait Implementations

impl Debug for KeyPair
[src]

Formats the value using the given formatter.

impl PartialEq for KeyPair
[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 KeyPair
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for KeyPair
[src]

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