Const
Decrypts a keystore to obtain the private key using the given password.
The keystore containing the encrypted private key.
The password used to decrypt the keystore.
A Promise that resolves to the decrypted KeystoreAccount or rejects if the keystore or password is invalid.
Encrypts a given private key into a keystore format using the specified password.
The private key to be encrypted.
The password used for the encryption.
A Promise that resolves to the encrypted keystore.
Validates if the provided keystore adheres to the expected format and structure.
The keystore to be validated.
A boolean indicating whether the keystore is valid or not.
Sets the keystore cryptography to experimental mode.
A boolean indicating whether the keystore cryptography is experimental or not.
Exports the keystore functions for encryption, decryption, and validation.