Skip to content
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

Ransomware Encryption Performance #2123

Closed
mssalvatore opened this issue Jul 26, 2022 · 0 comments · Fixed by #2204
Closed

Ransomware Encryption Performance #2123

mssalvatore opened this issue Jul 26, 2022 · 0 comments · Fixed by #2204

Comments

@mssalvatore
Copy link
Collaborator

Refactor

Component(s) to be refactored

  • infection_monkey.utils.bit_manipulators.py

Explanation

There are two TODOs in bit_manipulators.py relating to the perfomance of ransomware's "encryption" algorithm. Resolve these TODOs and show before and after performance benchmarks.

cakekoa added a commit that referenced this issue Aug 17, 2022
- Remove a function call
- Use a generator
- Use a more efficient flip calculation (subtraction instead of xor)

Issue #2123
mssalvatore pushed a commit that referenced this issue Aug 17, 2022
- Remove a function call
- Use a generator
- Use a more efficient flip calculation (subtraction instead of xor)

Issue #2123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant