Closed
Conversation
…ing in Menu class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several new classes and significant enhancements to the encryption and database management functionality. The most important changes include the addition of encryption algorithms, the creation of a database manager, and the implementation of a menu system for user interaction.
New Classes and Interfaces
src/Classes/AlgorithmChoice.java: Added methods for encryption and decryption using various algorithms.src/Classes/EncryptionAlgorithm.java: Introduced an interface for encryption algorithms with methods for initialization, encryption, and decryption.src/Classes/EncryptionStack.java: Created a class to manage a stack of encryption algorithms, allowing for layered encryption and decryption.Database Management Enhancements
src/Classes/Database.java: Added a new class to represent a database with properties for the hashed password, database name, and encryption mode.src/Classes/DatabasesManager.java: Updated to useDatabaseInfoobjects for storing database information and added methods for encrypting all sites.Encryption Algorithm Implementations
src/Classes/Enigma/Enigma.java: Modified to implement theEncryptionAlgorithminterface and added detailed comments for better understanding.src/Classes/RC4.java: Updated to implement theEncryptionAlgorithminterface, providing a standard structure for encryption and decryption.User Interaction Improvements
src/Classes/Menu.java: Refactored to handle user input for managing databases and sites, including options for creating, modifying, and deleting sites.These changes collectively enhance the system's encryption capabilities and improve the user experience for managing databases and encrypted data.