use iota_stronghold::KeyProvider;
use crate::client::utils::Password;
pub(super) const SECRET_VAULT_PATH: &[u8] = b"iota-wallet-secret";
pub(super) const SEED_RECORD_PATH: &[u8] = b"iota-wallet-seed";
pub(super) const DERIVE_OUTPUT_RECORD_PATH: &[u8] = b"iota-wallet-derived";
pub(crate) const PRIVATE_DATA_CLIENT_PATH: &[u8] = b"iota_seed";
pub(super) const USERDATA_STORE_KEY_RECORD_PATH: &[u8] = b"userdata-store-key";
pub(super) fn key_provider_from_password(password: Password) -> KeyProvider {
KeyProvider::with_passphrase_hashed_blake2b(password.as_bytes().to_vec()).unwrap()
}