Struct ntru::encparams::EncParams [] [src]

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

A set of parameters for NTRU encryption

Methods

impl EncParams
[src]

Get the name of the parameter set

Get the number of polynomial coefficients

Get the modulus

Get the number of random bits to prepend to the message

Maximum message length

Encryption length

Public key length

Private key length

Trait Implementations

impl Default for EncParams
[src]

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

impl PartialEq for EncParams
[src]

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

This method tests for !=.

impl Debug for EncParams
[src]

Formats the value using the given formatter.