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

Adding support for Whirlpool and RIPEMD-160 hashing and refactoring modules #13

Merged
merged 2 commits into from
Nov 2, 2024

Conversation

Zozi96
Copy link
Owner

@Zozi96 Zozi96 commented Nov 2, 2024

This pull request introduces support for two new hashing algorithms, Whirlpool and RIPEMD-160, and includes updates to the documentation, dependencies, and tests to reflect these additions.

New Hashing Algorithms:

  • Added WhirlpoolHasher and Ripemd160Hasher classes for Whirlpool and RIPEMD-160 algorithms respectively. [1] [2]

Documentation Updates:

  • Updated README.md to include Whirlpool and RIPEMD-160 in the list of supported hashing algorithms and provided installation instructions for the new algorithms. [1] [2] [3]

Dependency Management:

  • Added pycryptodome as an optional dependency for the new hashing algorithms in pyproject.toml.

Codebase Adjustments:

  • Updated src/hash_forge/__init__.py to include the new hashers in the __all__ list and import statements. [1] [2]
  • Renamed src/hash_forge/scrypt_hasher.py to src/hash_forge/hashers/scrypt_hasher.py and updated import statements accordingly. [1] [2]

Test Enhancements:

  • Added new test file test_ripemd160.py for RIPEMD-160 hasher and updated existing tests to use the new import paths. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

@Zozi96 Zozi96 added the enhancement New feature or request label Nov 2, 2024
@Zozi96 Zozi96 self-assigned this Nov 2, 2024
@Zozi96 Zozi96 merged commit 84ab4b3 into develop Nov 2, 2024
4 checks passed
@Zozi96 Zozi96 deleted the feature/add-hashers branch November 2, 2024 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant