๐ Secure cryptocurrency mnemonic phrase encryption tool powered by AnyEncrypt
Project description
๐ MnemonicEncrypt
Professional Cryptocurrency Mnemonic Encryption Tool
Powered by AnyEncrypt | BIP39 Standard | Open Source
English | ็ฎไฝไธญๆ
๐จ Why You Need MnemonicEncrypt?
๐ฐ Common Dangerous Practices
- โ Writing plaintext on paper โ Anyone who sees it can steal your assets
- โ Saving screenshots on phone โ Phone lost = Wallet lost
- โ Storing in cloud (iCloud, Google Drive) โ Cloud service breach risk
- โ Saving in notes โ Vulnerable to phone hacking
โ The Secure Solution
MnemonicEncrypt allows you to:
- ๐ Encrypt mnemonic phrases with a strong password
- โ๏ธ Safely store ciphertext anywhere (cloud, paper, notes)
- ๐ป Decrypt when needed on your computer
- ๐ Runs locally, keys never uploaded
- ๐ Open source and auditable, powered by AnyEncrypt
๐ Quick Start
Installation
pip install mnemonic-encrypt
Basic Usage
1๏ธโฃ Encrypt Your Mnemonic
$ mnemonic-encrypt encrypt
๐ Please enter your mnemonic phrase (space-separated):
abandon ability able about above absent absorb abstract absurd abuse access accident
๐ Enter encryption password: ********
๐ Confirm password: ********
โ
Encryption successful!
Ciphertext:
ME$v1$gAAAAABmKj9x7Qw3HvNzR5tY8mP2sK4fL6jN1cV9bX0qW...
๐ก Tip: Save this ciphertext safely (cloud storage or paper)
2๏ธโฃ Decrypt When Needed
$ mnemonic-encrypt decrypt
๐ Please enter the ciphertext:
ME$v1$gAAAAABmKj9x7Qw3HvNzR5tY8mP2sK4fL6jN1cV9bX0qW...
๐ Enter decryption password: ********
โ
Decryption successful!
Mnemonic phrase:
abandon ability able about above absent absorb abstract absurd abuse access accident
โ ๏ธ Warning: Use immediately and clear screen history
3๏ธโฃ Generate New Mnemonic (Optional)
$ mnemonic-encrypt generate
โ
Generated 12-word mnemonic phrase:
abandon ability able about above absent absorb abstract absurd abuse access accident
๐ก Tip: Use 'mnemonic-encrypt encrypt' to encrypt and save it immediately
๐ฏ Use Cases
| Scenario | Traditional Method | Using MnemonicEncrypt |
|---|---|---|
| Long-term Storage | Plaintext on paper, fear of loss/theft | โ Encrypt then print, store safely |
| Cloud Backup | Afraid to upload to cloud | โ Upload ciphertext with confidence |
| Multi-device | USB drive, easy to forget | โ Sync ciphertext via cloud |
| Inheritance | Paper will has risks | โ Store ciphertext and password separately |
๐ Core Features
- ๐ Professional Encryption: Powered by AnyEncrypt (Fernet + AES-128 + HMAC)
- โ BIP39 Standard: Fully compatible with standard mnemonic formats (12/15/18/21/24 words)
- ๐ Key Derivation: SHA-256 derived, resistant to brute-force attacks
- ๐ป Offline Operation: All operations run locally, no internet required
- ๐ก๏ธ Privacy Protected: Keys are never saved, uploaded, or cached
- ๐ฏ Interactive CLI: Simple and user-friendly, no commands to memorize
- ๐ Python API: Integrate into your projects
- ๐งช Well Tested: 100% test coverage
- ๐ฆ Zero Barrier: Install with one command
๐ง Python API
from mnemonic_encrypt import MnemonicEncryptor
# Create encryptor
encryptor = MnemonicEncryptor()
# Encrypt mnemonic
mnemonic = "abandon ability able about above absent absorb abstract absurd abuse access accident"
password = "your-super-strong-password-123!"
ciphertext = encryptor.encrypt(mnemonic, password)
print(f"Ciphertext: {ciphertext}")
# Decrypt mnemonic
decrypted = encryptor.decrypt(ciphertext, password)
print(f"Mnemonic: {decrypted}")
# Generate new mnemonic
new_mnemonic = encryptor.generate(strength=128) # 12 words
print(f"New mnemonic: {new_mnemonic}")
# Validate mnemonic
is_valid = encryptor.validate_mnemonic(mnemonic)
print(f"Valid: {is_valid}")
๐ก๏ธ Security Recommendations
โ Best Practices
-
Strong Password: At least 16 characters, including uppercase, lowercase, numbers, and symbols
- โ
password123 - โ
MyWallet@2026!SecureP@ssw0rd
- โ
-
Password Management:
- Memorize or write in a physical notebook (not with ciphertext)
- Can set password hint questions
-
Test First:
# Test with a dummy mnemonic first $ mnemonic-encrypt encrypt # Use test mnemonic $ mnemonic-encrypt decrypt # Ensure it decrypts correctly # Then encrypt your real mnemonic
-
Backup Strategy:
- Print ciphertext twice: 1 in safe, 1 with trusted person
- Store password separately
โ Dangerous Practices
- โ Using weak passwords (less than 12 characters)
- โ Storing password and ciphertext together
- โ Using on public/internet cafe computers
- โ Taking screenshots with plaintext mnemonic
- โ Sending plaintext mnemonic via WeChat/email
๐ Technical Architecture
User Mnemonic
โ
[Normalization] โ lowercase, trim spaces
โ
[BIP39 Validation] โ ensure mnemonic is valid
โ
[AnyEncrypt Encryption] โ Fernet (AES-128-CBC + HMAC)
โ
[Add Version Prefix] โ ME$v1$ (for future upgrades)
โ
Ciphertext Output
Encryption Details
- Algorithm: Fernet (cryptography library)
- Symmetric Encryption: AES-128-CBC
- Message Authentication: HMAC-SHA256
- Key Derivation: SHA-256 (AnyEncrypt implementation)
- Version Management:
ME$v1$prefix
๐ Comparison with Competitors
| Project | Type | Encryption | BIP39 | Cross-platform | Maintained |
|---|---|---|---|---|---|
| MnemonicEncrypt | โ CLI + API | โ AnyEncrypt | โ Yes | โ Win/Mac/Linux | โ Active |
| mnemonic-encryption-locally | Web | Custom | โ | โ ๏ธ Browser only | โ |
| mnemonic-encryption-webjs | Web | WebCrypto | โ | โ ๏ธ Browser only | โ |
| passphrase-encrypter | Web | Unknown | โ | โ ๏ธ Browser only | โ |
Your Advantages:
- โ Only Python CLI tool (developer-friendly)
- โ Based on established encryption library (high credibility)
- โ Cross-platform support (Mac/Windows/Linux)
- โ Integrable API (extensible)
- โ Continuously maintained and updated
๐ Supported Platforms
| Platform | Status | Note |
|---|---|---|
| macOS | โ | 10.15+ |
| Windows | โ | 10/11 |
| Linux | โ | Ubuntu 20.04+ |
| Python | โ | 3.8 - 3.12 |
๐ Documentation
๐ค Contributing
Issues and Pull Requests are welcome!
- Fork this repository
- Create a branch (
git checkout -b feature/amazing) - Commit changes (
git commit -m 'Add amazing feature') - Push branch (
git push origin feature/amazing) - Open a Pull Request
๐ License
This project is licensed under the MIT License.
๐ Acknowledgments
- AnyEncrypt - Core encryption library (Author: Lindsay Wat)
- python-mnemonic - BIP39 implementation
- cryptography - Underlying crypto library
๐ง Contact
- ๐ Issues: GitHub Issues
- ๐ฌ Discussions: GitHub Discussions
โ ๏ธ Important Notice
Lost passwords cannot be recovered! Make sure to remember your password or store it securely
Cryptocurrency investments carry risks, please be responsible for your own decisions
Made with โค๏ธ for cryptocurrency community
Powered by AnyEncrypt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mnemonic_encrypt-0.1.0.tar.gz.
File metadata
- Download URL: mnemonic_encrypt-0.1.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e1315e3ebbfb411dee09791d2f6693158ac46ce517ce0749246bde1cb26d97e
|
|
| MD5 |
4c8b303a7d060ee3cfade062d214f003
|
|
| BLAKE2b-256 |
203466284e77288aa064617737c7aeb8f095216a59a2def8d9a740fe939e53c8
|
File details
Details for the file mnemonic_encrypt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mnemonic_encrypt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00faea58247a599c5d35b0cf04b920523fb2e39fcc072948187b1e93ed463b2b
|
|
| MD5 |
91718fa5c99b2185a160f71e703fe002
|
|
| BLAKE2b-256 |
d3694a993e9bf26b5e93dc7c3c079c88e15c647513f6b6a1f9e925af866fdec4
|