Struct tomcrypt::EccKey [] [src]

pub struct EccKey(_);

A private or public elliptic curve key.

Methods

impl EccKey
[src]

[src]

Create a new ecc key pair.

Supported key sizes:

keysize #bits
12 112
16 128
20 160
24 192
28 224
32 256
48 384
65 521

[src]

Import a private or public ecc key from the tomcrypt format.

[src]

Export public ecc key in the tomcrypt format.

[src]

Export private ecc key in the tomcrypt format.

[src]

Derive a shared secret from a private and a public key.

Trait Implementations

impl Debug for EccKey
[src]

[src]

Formats the value using the given formatter.

impl Drop for EccKey
[src]

[src]

Executes the destructor for this type. Read more