Bip38Encrypter class
Helper class for BIP38 encryption and decryption operations.
This class provides static methods for encrypting and decrypting Bitcoin private keys using the BIP38 standard. It offers support for both EC and non-EC (NoEc) encryption methods.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encryptNoEc(
List< int> privKey, String passphrase, {PubKeyModes pubKeyMode = PubKeyModes.compressed}) → String - Encrypt a Bitcoin private key without using ECDSA.
-
generatePrivateKeyEc(
String passphrase, {PubKeyModes pubKeyMode = PubKeyModes.compressed, int? lotNum, int? sequenceNum}) → String - Generate a BIP38-encrypted private key with ECDSA.