Skip to content

v1.2.2 - Ethereum Interoperability Update

Choose a tag to compare

@NoCentralHub NoCentralHub released this 10 Dec 20:23
· 217 commits to master since this release

This release introduces native support for Keccak-256 hashing, enabling full, byte-perfect interoperability with the Ethereum ecosystem.

馃殌 New Features

  • Keccak-256 Support: Added Keccak256 implementation in dcrypt-algorithms. This uses the original Keccak padding (0x01 domain separator) required for Ethereum addresses, function selectors, and EIP-712 signatures, distinguishing it from the standard NIST SHA3-256.
  • Hash API Integration: Keccak256 implements the standard HashFunction trait, allowing seamless integration with existing hashing workflows.
  • Parameter Constants: Added KECCAK256_OUTPUT_SIZE and KECCAK256_BLOCK_SIZE to dcrypt-params.

馃摎 Documentation

  • Updated hashing documentation to clarify the distinction between Sha3_256 and Keccak256.
  • Added specific guidance on when to use Keccak256 (e.g., EVM compatibility).

馃洜 Fixes & Improvements

  • Expanded test coverage to include vectors for Keccak-256.
  • Fixed unused import warnings in elliptic curve modules.