Methods
Static Private calculateMac
- calculateMac(derivedKey: Buffer, ciphertext: Buffer): Buffer
-
Parameters
-
derivedKey: Buffer
-
ciphertext: Buffer
Returns Buffer
Static decryptKey
- decryptKey(fileContents: any, password: string): Promise<RadixKeyPair>
-
Parameters
-
fileContents: any
-
password: string
key
Static encryptKey
- encryptKey(keyPair: RadixKeyPair, password: string): Promise<Object>
-
Parameters
Returns Promise<Object>
Decrypts an encrypted private key