feat: implement IterativeAes128MessagePublic with test#11
Merged
Conversation
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 includes significant changes to the AES encryption implementation and documentation. The most important changes involve the removal of the AES-128 CTR mode implementation, the addition of new classes and methods for AES-128 encryption verification, and updates to the README documentation.
Documentation Updates:
README.md: Removed references to Counter Mode (CTR) and Galois Counter Mode (GCM). Added a new "Code Breakdown" section detailing the main entry points and key classes/methods in the codebase. [1] [2] [3]Codebase Changes:
src/implementations/AES128CTR.ts: Removed the entire file, including the AES-128 CTR mode verification circuit and related classes and functions.src/implementations/IterativeAES128.ts: AddedIterativeAES128MessagePublicInputandIterativeAes128MessagePublicclasses to verify that a message and cipher are connected via AES-128. Updated exports to include new classes. [1] [2] [3]src/implementations/IterativeAES128CTR.ts: Removed the entire file, including the helper class and functions for verifying iterative counter mode encryption.src/index.ts: Updated exports to include new classes fromIterativeAES128.ts.test/implementations/verifyAES128.test.ts: Added tests for the newIterativeAES128MessagePublicclass to verify AES-128 decryption. [1] [2]