A minimalist library to interact with encrypted JSON keystores as per the Web3 Secret Storage Definition.
Represents the "cipherparams" part of an encrypted JSON keystore.
Represents the "crypto" part of an encrypted JSON keystore.
This struct represents the deserialized form of an encrypted JSON keystore based on the Web3 Secret Storage Definition.
Types of key derivition functions supported by the Web3 Secret Storage.
Defines the various parameters used in the supported KDFs.
An error thrown when interacting with the eth-keystore crate.
Encrypts the given private key using the Scrypt password-based key derivation function, and stores it in the provided directory.
Creates a new JSON keystore using the Scrypt
key derivation function. The keystore is encrypted by a key derived from the provided