Struct cardano_multiplatform_lib::chain_crypto::algorithms::ed25519_extended::Ed25519Extended
source · [−]pub struct Ed25519Extended;
Expand description
ED25519 Signing Algorithm with extended secret key
Trait Implementations
sourceimpl 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>
sourceimpl SecretKeySizeStatic for Ed25519Extended
impl SecretKeySizeStatic for Ed25519Extended
const SECRET_KEY_SIZE: usize = 32usize
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more