pub struct Ed25519Extended;
Expand description
ED25519 Signing Algorithm with extended secret key
Trait Implementations§
Source§impl AsymmetricKey for Ed25519Extended
impl AsymmetricKey for Ed25519Extended
const SECRET_BECH32_HRP: &'static str = "ed25519e_sk"
type Secret = ExtendedPriv
type PubAlg = Ed25519
fn generate<T: RngCore + CryptoRng>(rng: T) -> Self::Secret
fn compute_public( key: &Self::Secret, ) -> <Self::PubAlg as AsymmetricPublicKey>::Public
fn secret_from_binary(data: &[u8]) -> Result<Self::Secret, SecretKeyError>
Source§impl SecretKeySizeStatic for Ed25519Extended
impl SecretKeySizeStatic for Ed25519Extended
const SECRET_KEY_SIZE: usize = 32usize
Source§impl SigningAlgorithm for Ed25519Extended
impl SigningAlgorithm for Ed25519Extended
Auto Trait Implementations§
impl Freeze for Ed25519Extended
impl RefUnwindSafe for Ed25519Extended
impl Send for Ed25519Extended
impl Sync for Ed25519Extended
impl Unpin for Ed25519Extended
impl UnwindSafe for Ed25519Extended
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more