Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Multi-Language Support and User Authentication #1132

Closed
wants to merge 2 commits into from

Conversation

lvb05
Copy link

@lvb05 lvb05 commented Nov 17, 2024

Pull Request for PyVerse 💡

Requesting to submit a pull request to the PyVerse repository.


Issue Title

Enhance Encryption App with Multi-Language Support and User Authentication
Adding features for multi-language support using Google Translate and implementing user authentication using Streamlit Authenticator.

  • I have provided the issue title.

Info about the Related Issue

What's the goal of the project?
The goal of this project is to build a user-friendly encryption and decryption app using basic cryptographic algorithms (Caesar and Vigenère Ciphers). The project aims to enhance the user experience by adding features such as multi-language support and secure user authentication.

  • I have described the aim of the project.

Name

Please mention your name.
Lavanya

  • I have provided my name.

GitHub ID

Please mention your GitHub ID.
lvb05

  • I have provided my GitHub ID.

Email ID

Please mention your email ID for further communication.
lavanyabhargava05@gmail.com

  • I have provided my email ID.

Identify Yourself

Mention in which program you are contributing (e.g., WoB, GSSOC, SSOC, SWOC).
GSSOC/IEEE IGDTU open-source week 2024

  • I have mentioned my participant role.

Closes

Enter the issue number that will be closed through this PR.
*Closes: #1132
*

  • I have provided the issue number.

Describe the Add-ons or Changes You've Made

Give a clear description of what you have added or modified.
*Added multi-language support using Google Translate (googletrans) to enable users to translate messages before encryption and after decryption.

Integrated user authentication using the streamlit-authenticator library, allowing users to log in with predefined credentials to access the app.

The app now includes a language selector in the sidebar, where users can choose input and output languages.

Enhanced the app’s functionality to ensure encrypted and decrypted messages can be translated seamlessly.*

  • I have described my changes.

Type of Change

Select the type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Describe how your changes have been tested.
*I tested the multi-language translation by selecting different input and output languages from the sidebar, ensuring the translation works both before and after encryption.

I verified the user authentication flow by logging in with predefined credentials and logging out.

I tested the Caesar Cipher and Vigenère Cipher encryption and decryption functionalities to ensure they work seamlessly with the translation feature.*

  • I have described my testing process.

Checklist

Please confirm the following:

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

This update introduces two key enhancements to the encryption/decryption app:

**Multi-Language Support:
Integrated Google Translate to allow translation of messages before and after encryption/decryption.
Users can select their preferred input and output languages from a list of supported languages (e.g., English, Spanish, French).
**User Authentication:
Implemented a login system using streamlit-authenticator to secure the app.
Users must log in with predefined credentials to access the encryption features and can log out anytime.

**Libraries Added:
googletrans: For translation.
streamlit-authenticator: For user authentication.

This update enhances user experience by adding language options and a simple authentication system.
This update introduces two key enhancements to the encryption app:

**Multi-Language Support:
Integrated Google Translate to allow translation of messages before and after encryption/decryption.
Users can select their preferred input and output languages from a list of supported languages (e.g., English, Spanish, French).
**User Authentication:
Implemented a login system using streamlit-authenticator to secure the app.
Users must log in with predefined credentials to access the encryption features and can log out anytime.

**Libraries Added:
googletrans: For translation.
streamlit-authenticator: For user authentication.

This update enhances user experience by adding language options and a simple authentication system.
Copy link

👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly!

Feel free to join our community on Discord to discuss more!

@github-actions github-actions bot requested a review from UTSAVS26 November 17, 2024 05:24
@lvb05
Copy link
Author

lvb05 commented Nov 17, 2024 via email

@UTSAVS26
Copy link
Owner

Can u provide me the evaluation form and steps
Discord is not working

On Sun, 17 Nov, 2024, 10:55 github-actions[bot], @.***>
wrote:

👋 Thank you for opening this pull request! We're excited to review your
contribution. Please give us a moment, and we'll get back to you shortly!

Feel free to join our community on Discord https://discord.gg/9mZnkTRFFe
to discuss more!


Reply to this email directly, view it on GitHub
#1132 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGYQR2C6OHSNVLTHVKCAIUD2BASDDAVCNFSM6AAAAABR5RURVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQHEZTCOBXHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Which evaluation form and steps you are talking about, and discord link is working fine.

@UTSAVS26 UTSAVS26 closed this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants