Skip to content

Conversation

chojuninengu
Copy link

No description provided.

- 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.
@isaka-james isaka-james self-requested a review April 6, 2025 18:13
@isaka-james
Copy link
Owner

I'll review your changes hopefully I'll merge tomorrow :)

@isaka-james
Copy link
Owner

isaka-james commented Apr 14, 2025

I've been busy recently, but the wait is over now I'm currently reviewing

@chojuninengu
Copy link
Author

Alright @isaka-james , just take your Time

Copy link
Owner

@isaka-james isaka-james left a 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.

Copy link
Owner

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

Copy link
Owner

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

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

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