Skip to content

Conversation

@0xAsce
Copy link

@0xAsce 0xAsce commented Dec 19, 2025

Summary

This PR adds a SHA-3 (Keccak) hash function implementation written in Python.

Details

  • Implements the SHA-3 hashing algorithm according to the Keccak specification
  • Supports standard SHA-3 digest sizes (e.g. SHA3-224/256/384/512 if applicable)
  • Designed to be readable and easy to audit
  • No external dependencies required

Motivation

SHA-3 is a modern cryptographic hash standard and provides an alternative to SHA-2.
Adding this implementation improves the project’s cryptographic coverage and allows
users to experiment with or verify SHA-3 hashing behavior directly in Python.

Testing

  • Verified outputs against known SHA-3 test vectors
  • Compared results with Python’s hashlib.sha3_* for correctness

Notes

This implementation prioritizes clarity and correctness. Performance optimizations
can be explored in future iterations if needed.

@algorithms-keeper algorithms-keeper bot added the tests are failing Do not merge until tests pass label Dec 19, 2025
@algorithms-keeper algorithms-keeper bot removed the tests are failing Do not merge until tests pass label Dec 19, 2025
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.

1 participant