Struct chain_crypto::algorithms::Ed25519Extended
source · pub struct Ed25519Extended;
Expand description
ED25519 Signing Algorithm with extended secret key
Trait Implementations§
source§impl AsymmetricKey for Ed25519Extended
impl AsymmetricKey for Ed25519Extended
type Secret = ExtendedPriv
type PubAlg = Ed25519
const SECRET_BECH32_HRP: &'static str = "ed25519e_sk"
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 = 64usize
source§impl SigningAlgorithm for Ed25519Extended
impl SigningAlgorithm for Ed25519Extended
Auto Trait Implementations§
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