Repository navigation
Write the repeated parts of crypto.rs once and split its long functions - #130
Merged
Merged
Conversation
…t took - Test the key size of each algId by default, of Standard AES with the AES flag and of NonStandard AES - Test the messages of the errors for an unknown algId or version, a short EncryptionInfo and one without the CryptoAPI flag Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ns, to make it easier to read - Decrypt AES-CBC and AES-ECB with a function for each that chooses the cipher by the key length, used by the four functions that each had the same match - Read the EncryptionHeader, and the AES key size when keySize is 0, with one function each - Split the version check of the EncryptionInfo into functions that cut it out, read the CryptoAPI versions and read RC4 - Make the loop that reads the elements of Agile XML and the reading of attributes functions, and shorten the derivation of the three keys - Keep the kinds and messages of the errors Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CoverageFor 919732b. |
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.
Summary
scripts/quality-check.sh(CC ≥ 10, cognitive ≥ 10 or SLOC ≥ 50), and none of the file is now.parse_cryptoapi_infoparse_encrypted_keyparse_encryption_infoparse_agile_encryption_infoparse_standard_aes_infodecrypt_page_agiledecrypt_page_standard_aesaes_cbc_decryptaes_ecb_decryptverify_password🤖 Generated with Claude Code