create 24w.txt
Warning! Overwrites existing 24w.txt. Use only for generating and testing scripts.
python3 bip39_unique-wordlist.py
{
Mnemonic saved to 24w.txt:
feel top pride wet unaware combine person adjust dawn toe worry round reveal vital goddess auto task plunge credit walk penalty logic milk blur
}
Verifies that all words are in the bip39 word list and displays their positions.
Decoded 24-word mnemonic:
feel top pride wet unaware combine person adjust dawn toe worry round reveal vital goddess auto task plunge credit walk penalty logic milk blur
Original 24-word mnemonic from 24w.txt:
feel top pride wet unaware combine person adjust dawn toe worry round reveal vital goddess auto task plunge credit walk penalty logic milk blur
Success: The decoded mnemonic matches the original mnemonic.
}
# other features python3 bip39_pack.py --help
{
Usage: python3 bip39_pack.py [passphrase] [mode] [QR]
If no passphrase and mode are provided, the data will be saved without encryption.
Modes: GCM, CFB
Optional 'QR' parameter to generate QR codes for encrypted blocks and combined encrypted block.
}
# decrypt python3 bip39_unpack.py --help
{
Usage: python3 bip39_unpack.py [passphrase] [encrypted_data]
If no passphrase and encrypted data are provided, the data will be read without decryption.
Modes: GCM, CFB
}
Decoded 24-word mnemonic:
feel top pride wet unaware combine person adjust dawn toe worry round reveal vital goddess auto task plunge credit walk penalty logic milk blur
Original 24-word mnemonic from 24w.txt:
feel top pride wet unaware combine person adjust dawn toe worry round reveal vital goddess auto task plunge credit walk penalty logic milk blur
Success: The decoded mnemonic matches the original mnemonic.
}
Encrypted Blocks:
Encrypted block 1: R0NNOr41805UKGdwgQvppvxgBrUz2d9VDXRNd66_QiZPFlpSDW8_9IOKH0Srjz0p5ixu2PwY2YmZLWyO-3Y=
QR code for block 1 generated as block_1_qr.png
Encrypted block 2: R0NNOn4zYIIXxb3BWvUxfQcXPTUKnaTA-nx65cDc0UF733YCB8iMbCVTInqxaN1swTg9Sio9POWUSXpHf-o=
QR code for block 2 generated as block_2_qr.png
Encrypted block 3: R0NNOsumD5uNvT1WTnQ1HGk7Vpw9vW9fVd9DN63pwC9ILciuNwXp0dqhZFpwQ8fwV657MuXYs8VOER7BW8k=
QR code for block 3 generated as block_3_qr.png
Encrypted block 4: R0NNOhIm7KLFbOnHoQw6qT2UHbjAXtrpIKRZdtMvNGkP5VsgoJG8iYdavgzAM0DXt2NC9pqImKcd083gWyc=
QR code for block 4 generated as block_4_qr.png
Combined Encrypted Block:
R0NNOgsRelsuhWKtUa5xP_ExAbpQWIqklB9vq3nVWkE-neFL6j1HMIJErNj61YzfggWXL5UObvl_JRQV2mp6Ij0GUh2i9thhGA971R83m8YO7DE_dXCWlQqvvzU7J_BI-m_3fvmy6od4dls=
Combined QR code generated as combined_qr.png
}
For completeness, but using these scripts might not be a good idea. Use at your own risk! Highly experimental!