decryptPrivateKey

fun decryptPrivateKey(ciphertext: ByteArray, keyIndex: Int): ByteArray

Decrypt an address's private key. This function reverses encryptPrivateKey.

Parameters

ciphertext

The key to decrypt

keyIndex

A unique number associated with each key. If you use keys from multiple derivation paths, you must uniquely enumerate them