Struct iota_client::Seed
source · [−]pub struct Seed(_);
Expand description
A seed is an arbitrary bytestring used to create the root of the tree.
Several standards generate and/or restricts the size of the seed: BIP39: 512 bit seeds BIP32: between 128 and 512 bits; 256 bits is advised SLIP10: follows BIP32
But since the seed entropy is always passed through HMAC-SHA512 any bytesequence is acceptable, therefore formally the size requirement is context sensitive.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Seed
impl Send for Seed
impl Sync for Seed
impl Unpin for Seed
impl UnwindSafe for Seed
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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