Function indyrs::wallet::generate_wallet_key
source · [−]pub fn generate_wallet_key(
config: Option<&str>
) -> Box<dyn Future<Item = String, Error = IndyError>>
Expand description
Generate wallet master key. Returned key is compatible with “RAW” key derivation method. It allows to avoid expensive key derivation for use cases when wallet keys can be stored in a secure enclave.
Arguments
config
- (optional) key configuration json. { “seed”: string, (optional) Seed that allows deterministic key creation (if not set random one will be created). Can be UTF-8, base64 or hex string. }
Returns
wallet key can be used with RAW derivation type