Skip to main content

๐Ÿ” Secure cryptocurrency mnemonic phrase encryption tool powered by AnyEncrypt

Project description

๐Ÿ” MnemonicEncrypt

Professional Cryptocurrency Mnemonic Encryption Tool

Powered by AnyEncrypt | BIP39 Standard | Open Source

Python 3.8+ MIT License GitHub

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:

  1. ๐Ÿ” Encrypt mnemonic phrases with a strong password
  2. โ˜๏ธ Safely store ciphertext anywhere (cloud, paper, notes)
  3. ๐Ÿ’ป Decrypt when needed on your computer
  4. ๐Ÿ”’ Runs locally, keys never uploaded
  5. ๐Ÿ“– Open source and auditable, powered by AnyEncrypt

Demo


๐Ÿš€ 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

  1. Strong Password: At least 16 characters, including uppercase, lowercase, numbers, and symbols

    • โŒ password123
    • โœ… MyWallet@2026!SecureP@ssw0rd
  2. Password Management:

    • Memorize or write in a physical notebook (not with ciphertext)
    • Can set password hint questions
  3. 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
    
  4. 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!

  1. Fork this repository
  2. Create a branch (git checkout -b feature/amazing)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push branch (git push origin feature/amazing)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License.


๐Ÿ™ Acknowledgments


๐Ÿ“ง Contact


โš ๏ธ 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mnemonic_encrypt-0.1.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mnemonic_encrypt-0.1.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

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

Hashes for mnemonic_encrypt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9e1315e3ebbfb411dee09791d2f6693158ac46ce517ce0749246bde1cb26d97e
MD5 4c8b303a7d060ee3cfade062d214f003
BLAKE2b-256 203466284e77288aa064617737c7aeb8f095216a59a2def8d9a740fe939e53c8

See more details on using hashes here.

File details

Details for the file mnemonic_encrypt-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mnemonic_encrypt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00faea58247a599c5d35b0cf04b920523fb2e39fcc072948187b1e93ed463b2b
MD5 91718fa5c99b2185a160f71e703fe002
BLAKE2b-256 d3694a993e9bf26b5e93dc7c3c079c88e15c647513f6b6a1f9e925af866fdec4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page