-
Notifications
You must be signed in to change notification settings - Fork 5
Added File Encryption Tool #5
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
base: main
Are you sure you want to change the base?
Conversation
- Created a new Cargo.toml file for the file-encryption-tool project. - Defined package metadata including name, version, and edition. - Added dependencies: rust-crypto, clap, and anyhow for enhanced functionality.
- Implemented a command-line interface using Clap for file encryption and decryption. - Added AES-128 encryption and decryption methods with CBC mode. - Included error handling for file operations and key validation. - Users can specify input/output file paths and encryption/decryption keys via command-line arguments.
- Introduced a comprehensive README file for the File Encryption Tool project. - Documented features, installation instructions, usage examples, and important notes. - Highlighted learning objectives related to file I/O, command-line parsing, and basic cryptography concepts.
- Created a new Cargo.toml file for the calculator project. - Defined package metadata including name, version, and edition. - Added dependencies: thiserror for error handling and proptest for testing purposes.
- Implemented a basic calculator with addition, subtraction, multiplication, and division operations. - Added error handling for division by zero and invalid input parsing using the `thiserror` crate. - Included unit tests for all operations and property-based tests using `proptest` to ensure correctness.
- Implemented the main function for a command-line calculator that supports addition, subtraction, multiplication, and division. - Included user input handling and error messages for invalid operations. - Utilized the Calculator struct for performing calculations and parsing input.
- Generated Cargo.lock file to lock dependencies for the calculator project. - Includes all necessary packages and their versions to ensure consistent builds. - Facilitates dependency management and version control for the project.
I'll review your changes hopefully I'll merge tomorrow :) |
I've been busy recently, but the wait is over now I'm currently reviewing |
Alright @isaka-james , just take your Time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make a folder called 2. Intermediate
and move the your copy of files there, and if you can improve them alright. But you should know in this folder 1. Beginners
should be the raw files to be run with just rustc with no tests and any technical codes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You know this is in 1. Beginner
folder, that's why the codes were just run with rustc
, no complications of using Cargo.toml. I guess you can make a folder called 2. Intermediate
and do this stuffs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same applies here, that this is in the 1. Beginners
folders you can't put test here. Otherwise you can move this to the 2. Intermediate
folder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
No description provided.