SecureText is a Python script that redacts sensitive information such as emails, phone numbers, and credit card numbers from a text file. It replaces them with [REDACTED] and also generates a summary log.
- Redacts:
- Email addresses
- Phone numbers
- Credit card numbers
- Creates:
- A redacted output file
- A redaction summary log
- Save your input text in a file named
input.txt. - Run the script:
python secure_text.py