SteemPrivateKey class
Steem Private Key
Constructors
- SteemPrivateKey.fromBuffer(Uint8List? d)
- Constructor private key from the key buffer itself
- SteemPrivateKey.fromHex(String hexString)
-
factory
- SteemPrivateKey.fromRandom()
-
Generate the random private key
factory
- SteemPrivateKey.fromSeed(String seed)
-
Generate private key from seed. Please note: This is not random!
For the given seed, the generated key would always be the same
factory
- SteemPrivateKey.fromString(String keyStr)
- Construct the private key from string It can come from WIF format for PVT format
Properties
Methods
-
isWIF(
) → bool - Check if the private key is WIF format
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
Uint8List data) → SteemSignature - Sign the bytes data using the private key
-
signHash(
Uint8List sha256Data) → SteemSignature - Sign the SHA256 hashed data using the private key
-
signString(
String data) → SteemSignature - Sign the string data using the private key
-
toHex(
) → String -
toPublicKey(
) → SteemPublicKey - Get the public key string from this private key
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited