jarvismayur / Cipher_Craftt

CipherCraftt is a powerful and customizable password generator that creates secure and memorable passwords or passphrases. It features passphrase generation, password expiry checking, entropy calculation, customizable wordlists, and more to ensure your passwords are both strong and easy to manage.
https://pypi.org/project/cipher-craftt/
Apache License 2.0
2 stars 0 forks source link
cli-tools cryptography custom-password-policies data-breach-checker decryption encryption entropy-calculator hashing json open-source passphrase-generator password-expiry-checker password-generator password-history-management password-obfuscation password-strength-checker python secure-password-sharing security-tools utility

CipherCraftt

CipherCraftt is a versatile and secure password generator designed to help you create strong, memorable passwords with ease. With a range of customizable features and unique tools, CipherCraftt ensures your passwords are not only secure but also tailored to your needs.

Features

CipherCraftt offers a wide range of features to help you securely generate, manage, and share passwords and passphrases:

  1. Password and Passphrase Generation
    • Random Password Generator: Generate strong, random passwords with customizable options such as length, inclusion/exclusion of uppercase letters, lowercase letters, digits, and special characters.
    • Context-Aware Password Generator: Generate passwords tailored to specific contexts, such as finance, social media, or work environments.
    • Mnemonic Password Generator: Create mnemonic-based passwords using a custom wordlist, making them easier to remember.
    • Passphrase Generator: Generate secure passphrases composed of random words from a user-defined wordlist, with customizable separators.
  2. Password Strength and Entropy
    • Password Strength Checker: Evaluate the strength of a given password to ensure its robustness against attacks.
    • Entropy Calculator: Calculate the entropy of a password, giving you an indication of its unpredictability and security level.
  3. Password History Management
    • Password History Checker: Verify if a password has been used before, helping to prevent reuse of old passwords.
    • Password Expiry Checker: Check if a password has expired based on a specified number of days.
    • Password Creation Recorder: Record the creation date of a new password for tracking and expiry purposes.
    • Limit Password History: Set a limit on the number of stored passwords in history to maintain a clean and secure password management process.
  4. Obfuscation and Pronunciation Guide
    • Password Obfuscator: Obfuscate your password to different levels (1, 2, or 3) for enhanced security.
    • Pronunciation Guide: Generate a pronunciation guide for a given password to make it easier to recall.
  5. Secure Sharing and Breach Detection
    • Secure Password Sharing: Encrypt and securely share passwords using a generated key.
    • Password Decryption: Decrypt a shared password using the provided key.
    • Data Breach Checker: Check if your password has been involved in any known data breaches, ensuring its safety.
  6. Time-Based One-Time Password (TOTP)
    • TOTP Generation: Generate a Time-Based One-Time Password (TOTP) using a provided secret, for use in two-factor authentication.
    • TOTP Verification: Verify the validity of a TOTP using the provided secret and OTP.
  7. Advanced Customization
    • Salting: Apply passphrase-based salting to generated passwords for added security.
    • Personalization: Incorporate personalized inputs (e.g., names, favorite numbers) into password generation for more tailored security.
    • Common Words Filtering: Exclude common words from the password using a custom dictionary file to enhance password security.

Installation

You can install CipherCraftt via PyPI:

pip install cipher-craftt

Updating the Package

To ensure you have the latest features and improvements, you can easily update the CipherCraftt package using pip. Open your command line interface and run the following command:

pip install --upgrade cipher-craftt

This command will update your CipherCraftt package to the latest version available on PyPI.

Basic Usage

To use the CLI, run the following command:

cipher-craftt [options]

Available Options

1. Password Generation

cipher_craftt --generate-password

Options:

2. Passphrase Generation

cipher_craftt --generate-passphrase 

Options:

3. Password Entropy

cipher_craftt --calculate-entropy your_password

4. Password Expiry Check

cipher_craftt --check-expiry your_password

Options:

cipher_craftt --record-password your_password
cipher_craftt --check-history your_password
cipher_craftt --max-history 100

6. Data Breach Check

cipher_craftt --check-breach your_password

7. Secure Password Sharing

cipher_craftt --share-password your_password
cipher_craftt --decrypt-password encrypted_password key

8. Pronunciation Guide

cipher_craftt --pronunciation-guide your_password

9. Password Strength Check

cipher_craftt --check-strength your_password

10. Mnemonic Password Generation

cipher_craftt --generate-mnemonic --wordlist path/to/wordlist.txt

Options:

cipher_craftt --generate-password --context finance

Each context has its own security policy. Below is a summary of the available contexts and their respective password policies:

Context Description Length Uppercase Lowercase Digits Special Characters
finance For financial services 16 Yes Yes Yes Yes
social For social media accounts 10 Yes Yes Yes No
work For work-related applications 12 Yes Yes Yes Yes
gaming For online gaming accounts 8 No Yes Yes No
email For email accounts 14 Yes Yes Yes Yes
banking For banking and financial platforms 20 Yes Yes Yes Yes
shopping For shopping platforms 12 Yes Yes Yes No
medical For healthcare services 18 Yes Yes Yes Yes
cloud For cloud storage and services 16 Yes Yes Yes Yes
secure For highly sensitive information 24 Yes Yes Yes Yes

12. TOTP (Time-based One-Time Password)

cipher_craftt --generate-totp your_secret
cipher_craftt --verify-totp your_secret your_otp

Examples

cipher_craftt --generate-password -l 16 --no-special --min-digits 2 --personalization "MySecret!"
cipher_craftt --generate-passphrase --wordlist path/to/wordlist.txt --separator "_"
cipher_craftt --check-expiry your_password --expiry-days 60
cipher_craftt --share-password your_password
cipher_craftt --generate-totp your_secret

Use Cases and Real-Life Implications of CipherCraftt

  1. Personal Password Management

License

CipherCraftt is licensed under the MIT License. See the LICENSE file for details.

Contact and Issues

If you have any questions, suggestions, or encounter issues, please feel free to open an issue on the GitHub repository. For direct communication, you can reach out to Mayur Tembhare via email .