decryptNoEc static method
Decrypt a BIP38-encrypted Bitcoin private key without using ECDSA.
privKeyEnc: The BIP38-encrypted Bitcoin private key.passphrase: The passphrase for decryption.- Returns: A tuple (pair) containing the decrypted private key and the selected public key mode (compressed or uncompressed).
Implementation
static (List<int>, PubKeyModes) decryptNoEc(
String privKeyEnc,
String passphrase,
) {
return Bip38NoEcDecrypter.decrypt(privKeyEnc, passphrase);
}