Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ELHARAKA committed May 2, 2024
1 parent 0869534 commit c7738b1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions pvkmassconvert_compressed.py → HexToWif_compressed.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ def convert(hex_private_key):
Convert a hexadecimal private key to Wallet Import Format (WIF) for compressed addresses.
"""
wif = convert_hex_to_wif(hex_private_key, compressed=True)
with open('list-WIF-compressed.txt', 'a', encoding='utf-8') as file:
with open('HEX_2_WIF_Compressed.txt', 'a', encoding='utf-8') as file:
file.write(f"{wif}\n")

# Call common.py to process the file
process_file("brute-pvks.txt", convert)
process_file("hex.txt", convert)

print("Conversion successful. Check your 'list-WIF-compressed.txt' file for the converted keys.")
print("Conversion successful. Check your 'HEX_2_WIF_Compressed.txt' file for the converted keys.")
print("__________________________________________________")
print("Developed by: Fahd El Haraka")
print("If this saved you time or helped, donations please for BTC Address:")
Expand Down
6 changes: 3 additions & 3 deletions pvkmassconvert.py → HexToWif_uncompressed.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ def convert(hex_private_key):
Convert a hexadecimal private key to Wallet Import Format (WIF) for Uncompressed addresses.
"""
wif = convert_hex_to_wif(hex_private_key, compressed=False)
with open('list-WIF-uncompressed.txt', 'a', encoding='utf-8') as file:
with open('HEX_2_WIF_Uncompressed.txt', 'a', encoding='utf-8') as file:
file.write(f"{wif}\n")

# Call common.py to process the file
process_file("brute-pvks.txt", convert)
process_file("hex.txt", convert)

print("Conversion successful. Check your 'list-WIF-uncompressed.txt' file for the converted keys.")
print("Conversion successful. Check your 'HEX_2_WIF_Uncompressed.txt' file for the converted keys.")
print("__________________________________________________")
print("Developed by: Fahd El Haraka")
print("If this saved you time or helped, donations please for BTC Address:")
Expand Down
4 changes: 2 additions & 2 deletions pvkwif2hex.py → WifToHex.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def wif_to_hex(wif_key):
"""
Convert a WIF private key back to its hexadecimal representation.
"""
with open('list-hex.txt', 'a', encoding='utf-8') as file:
with open('WIF_2_HEX.txt', 'a', encoding='utf-8') as file:
decoded = base58.b58decode(wif_key).hex()
hex_key = decoded[2:-10]
file.write(f"{hex_key}\n")
Expand All @@ -24,6 +24,6 @@ def process_file(file_path, conversion_function):
# Call common.py to process the file
process_file("wif.txt", wif_to_hex)

print("Conversion successful. Check your 'list-hex.txt' file for the converted keys.")
print("Conversion successful. Check your 'WIF_2_HEX.txt' file for the converted keys.")
print("_________________________________")
print("Donations for BTC: bc1qttzkk555p78dyq9l8g7syza6n94ppysv66dps0")

0 comments on commit c7738b1

Please sign in to comment.