[−][src]Struct ursa::signatures::ed25519::Ed25519Sha512
Trait Implementations
impl SignatureScheme for Ed25519Sha512
[src]
fn new() -> Self
[src]
fn keypair(
&self,
option: Option<KeyGenOption>
) -> Result<(PublicKey, PrivateKey), CryptoError>
[src]
&self,
option: Option<KeyGenOption>
) -> Result<(PublicKey, PrivateKey), CryptoError>
fn sign(&self, message: &[u8], sk: &PrivateKey) -> Result<Vec<u8>, CryptoError>
[src]
fn verify(
&self,
message: &[u8],
signature: &[u8],
pk: &PublicKey
) -> Result<bool, CryptoError>
[src]
&self,
message: &[u8],
signature: &[u8],
pk: &PublicKey
) -> Result<bool, CryptoError>
fn signature_size() -> usize
[src]
fn private_key_size() -> usize
[src]
fn public_key_size() -> usize
[src]
Auto Trait Implementations
impl Send for Ed25519Sha512
impl Unpin for Ed25519Sha512
impl Sync for Ed25519Sha512
impl UnwindSafe for Ed25519Sha512
impl RefUnwindSafe for Ed25519Sha512
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self