Struct ntru::types::PrivateKey [] [src]

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

NTRU encryption private key

Methods

impl PrivateKey
[src]

Gets the q parameter of the PrivateKey

Gets the tparameter of the PrivateKey

Get params from the private key

Import private key

Export private key

Trait Implementations

impl Debug for PrivateKey
[src]

Formats the value using the given formatter.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for PrivateKey
[src]

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