Struct duniter_keys::ed25519::PrivateKey [] [src]

pub struct PrivateKey(pub [u8; 64]);

Store a Ed25519 private key.

Can be generated with KeyPairGenerator.

Trait Implementations

impl Copy for PrivateKey
[src]

impl Clone for PrivateKey
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl ToBase58 for PrivateKey
[src]

[src]

Converts a value of self to a base58 value, returning the owned string.

impl Display for PrivateKey
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for PrivateKey
[src]

[src]

Formats the value using the given formatter.

impl PartialEq<PrivateKey> for PrivateKey
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for PrivateKey
[src]

impl PrivateKey for PrivateKey
[src]

Signature type of associated cryptosystem.

[src]

Create a PrivateKey from a Base58 string. Read more

[src]

Sign a message with this private key.