Checks the seed can be decrypted, provided mnemonic with optional mnemonic password.
Checks the seed can be decrypted, provided mnemonic with optional mnemonic password.
- SecretString mnemonic string to be erased after use.
- optional SecretString mnemonic password to be erased after use.
Tells if secretsIndices
were locked and destroyed.
Destroys all loaded secrets.
Returns the secretsIndices
if already unlocked, or nothing.
Path to the secret file containing encrypted seed and all the required cipher parameters to decrypt the seed providing the correct password.
Makes secrets with secretsIndices
available through secrets
call.
Makes secrets with secretsIndices
available through secrets
call.
- SecretString password string to be erased after use.
Secret storage trait. All keys dedicated to a wallet are being derived from a single seed which is stored in a file system in encrypted form in a file which can be accessed through this interface. Using SecretString for critical parts to be erased after use.