User Manual
Welcome to the Email Encryption Application! This guide will walk you through how to use the application to securely encrypt a message, send it via email, and how the recipient can decrypt the message.
1. Introduction
Welcome to the Email Encryption Application! This guide will walk you through how to use the application to securely encrypt a message, send it via email, and how the recipient can decrypt the message.
2. Accessing the Application
Open the Application: Navigate to the URL where the application is hosted. You'll be greeted with the home page.
3. Login
Navigate to the Login Page: Click on the "Login" link on the home page.
- Email: Type Your Gmail Address.
- Password: Type Your Gmail App Password.
- GMail App Password Configuration:
- Enable 2-Step Verification in your Gmail account.
- Create an App Password from https://myaccount.google.com/apppasswords to use in the application.
Submit: Click the "Login" button. Your credentials will be saved, and you'll be redirected to the email page.
4. Generating an Encryption Key
Navigate to the Email Page: Once logged in, go to the email page.
- Click the "Generate Key" button.
- A new encryption key will be generated and saved. The key will be displayed on the page.
Note: Save this key securely, as it will be needed to decrypt any messages you send.
5. Encrypting and Sending a Message
Compose an Email:
- Recipient: Enter the email address of the person you want to send the encrypted message to.
- Subject: Enter the subject of your email.
- Message: Write the message you wish to encrypt.
Encrypt the Message: The application will automatically encrypt your message using the generated encryption key.
Send the Email: Click the "Send" button. Your encrypted message will be sent to the recipient.
6. Decrypting a Message
For the Recipient:
- Navigate to the Decryption Page: Go to the decryption page provided in the application.
- Enter Decryption Details:
- Encrypted Message: Copy and paste the encrypted message you received Filinto the provided field.
- Key: Enter the encryption key that was used to encrypt the message.
- Decrypt the Message: Click the "Decrypt" button. The application will attempt to decrypt the message using the provided key.
If successful, the decrypted message will be displayed on the page.
7. Using AJAX for Decryption (Advanced)
Send an AJAX Request:
- Prepare an AJAX POST request with the following data:
- Encrypted Message: The encrypted message in base64 format.
- Key: The encryption key in base64 format.
Handle Response: The response will include the status of the decryption attempt and the decrypted message if successful.
8. Troubleshooting
- Failed to Send Email: Ensure that your email configuration is correct and that your email service provider is operational.
- Decryption Issues: Verify that the correct encryption key and base64 encoded message are used. Ensure the key matches the one used for encryption.
9. Contact Support
For further assistance, please contact support at [email protected].