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]
fn to_bytes(&self) -> [u8; 64]
View this signature as an array of 64 bytes.
fn from_bytes(bytes: &[u8]) -> Signature
Construct a Signature
from a slice of bytes.
Trait Implementations
impl Copy for Signature
[src]
impl Clone for Signature
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more