pub trait DeriveableSecretClientExt {
// Required methods
fn derive_module_secret(&self, module_instance_id: u16) -> DerivableSecret;
fn derive_backup_secret(&self) -> DerivableSecret;
fn derive_pre_root_secret_hash(&self) -> [u8; 8];
fn derive_account_secret(&self, account: Account) -> DerivableSecret;
}Required Methods§
fn derive_module_secret(&self, module_instance_id: u16) -> DerivableSecret
fn derive_backup_secret(&self) -> DerivableSecret
fn derive_pre_root_secret_hash(&self) -> [u8; 8]
fn derive_account_secret(&self, account: Account) -> DerivableSecret
Implementations on Foreign Types§
Source§impl DeriveableSecretClientExt for DerivableSecret
impl DeriveableSecretClientExt for DerivableSecret
Source§fn derive_account_secret(&self, account: Account) -> DerivableSecret
fn derive_account_secret(&self, account: Account) -> DerivableSecret
Account-scoped root, to be called on a module root secret.
Account::Primary returns the module root unchanged, so every path a
released client has already derived stays bit-for-bit what it was and
no existing wallet’s money moves. That costs the tree its uniformity —
this is a match where every other hop is just a hop — and the
alternative was to re-key every client in the field.