Crate web3_keystore
source · [−]Expand description
Library to encrypt and decrypt keystores as per the Web3 Secret Storage Definition.
This is a fork of eth-keystore-rs which does not write to disc automatically so is easier to integrate with WASM and storage destinations other than the file system.
Structs
Opaque type that represents an encrypted keystore based on the
Web3 Secret Storage Definition.
Enums
An error thrown when encrypting or decrypting keystores.
Functions
Decrypts an encrypted keystore using the provided
password
.Creates a new keystore using a random 32 byte secret and the
Scrypt
key derivation function.