[−][src]Struct iop_keyvault::ed25519::Ed25519
This elliptic curve cryptography implements both the AsymmetricCrypto and KeyDerivationCrypto traits so it can be used in EcDSA, Cardano and of course, Mopheus/Prometheus/Mercury.
Trait Implementations
impl AsymmetricCrypto for Ed25519
[src]
type KeyId = EdKeyId
The ID (also called fingerprint or address in some literature) of the public key. See
PublicKey::key_id
for more details. Read more
type PublicKey = EdPublicKey
type PrivateKey = EdPrivateKey
See PrivateKey
for more details. Read more
type Signature = EdSignature
The signature of a given message with a given private key. Its size and representation is up to the implementation. Read more
impl Clone for Ed25519
[src]
impl Debug for Ed25519
[src]
impl ExtendedPrivateKey<Ed25519> for EdExtPrivateKey
[src]
fn derive_normal_child(&self, _idx: i32) -> Result<EdExtPrivateKey>
[src]
fn derive_hardened_child(&self, idx: i32) -> Result<EdExtPrivateKey>
[src]
There is a potential vulnerability in that might affect all SLIP-0010 compatible Ed25519 wallets. We should never assume that there is only 1 public key that can verify a given signature. Actually, there are 8 public keys.
fn neuter(&self) -> EdPublicKey
[src]
fn private_key(&self) -> EdPrivateKey
[src]
impl ExtendedPublicKey<Ed25519> for EdPublicKey
[src]
fn derive_normal_child(&self, _idx: i32) -> Result<EdPublicKey>
[src]
fn public_key(&self) -> EdPublicKey
[src]
impl KeyDerivationCrypto for Ed25519
[src]
type ExtendedPrivateKey = EdExtPrivateKey
See ExtendedPrivateKey
for more details. Read more
type ExtendedPublicKey = EdPublicKey
See ExtendedPublicKey
for more details. Read more
fn master(seed: &Seed) -> EdExtPrivateKey
[src]
impl PrivateKey<Ed25519> for EdPrivateKey
[src]
fn public_key(&self) -> EdPublicKey
[src]
fn sign<D: AsRef<[u8]>>(&self, data: D) -> EdSignature
[src]
impl PublicKey<Ed25519> for EdPublicKey
[src]
Auto Trait Implementations
impl RefUnwindSafe for Ed25519
impl Send for Ed25519
impl Sync for Ed25519
impl Unpin for Ed25519
impl UnwindSafe for Ed25519
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,