OptionaladdressHrp: stringStaticdecryptOptionaladdressIndex: numberStaticdecryptStaticdecryptCopied from: https://github.com/multiversx/mx-deprecated-core-js/blob/v1.28.0/src/account.js#L42 Notes: adjustements (code refactoring, no change in logic), in terms of:
From an encrypted keyfile, given the password, loads the secret key and the public key.
StaticedStaticfromStaticfromStaticloadOptionaladdressIndex: number
Converts the encrypted keyfile to plain JavaScript object.