Struct ed25519_dalek::Signature [] [src]

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

An ed25519 signature.

Note

These signatures, unlike the ed25519 reference implementation, are "detached"—that is, they do not include a copy of the message which has been signed.

Methods

impl Signature
[src]

View this signature as an array of 64 bytes.

Construct a Signature from a slice of bytes.

Trait Implementations

impl Copy for Signature
[src]

impl Clone for Signature
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Signature
[src]

Formats the value using the given formatter.

impl Eq for Signature
[src]

impl PartialEq for Signature
[src]

Note

This function happens to be constant time, even though that is not really necessary.

This method tests for !=.