@tronmask/v1-keystore
v1.0.2
Published
Keystore decryption function that was used in the old verion of Tronmask. Used for migrating to the new Tronmask.
Downloads
3
Readme
v1-keystore
Keystore decryption function that was used in the old verion of Tronmask. Used for migrating to the new Tronmask.
Usage
const { decryptKeyStore } = require("@tronmask/v1-keystore");
const encryptedKeystore = {
version: 1,
key:
"0e82eb7cc45d8062160edf3df38611fed2231b0e48f6f7f86dc66c89eb8952f76ea918666d4ff5b6739a7024a255ae8ed451fefd2ed90b304ac8051bf905699d",
address: "TJPz2bD7Aa8FnUkomofwoCvgRNnAZWS4nb",
salt: "4be90d83-1e14-4ca5-95f8-6cac2e4c04d8",
};
decryptKeyStore("some-passsword", encryptedKeystore);