Skip to content

Conversation

@balladyna
Copy link
Collaborator

@balladyna balladyna commented Feb 7, 2025

The purpose of this branch is to reimplement Keccak algorithm based on the pointycastle library. This addition enables secure hashing and is essential for supporting Ethereum-related operations, such as transaction validation and signing.

List of changes:

  • created keccak.dart to simplify data absorption, finalization, and output generation using the Keccak sponge construction. This cryptographic algorithm absorbs an arbitrary-length input into an internal state and squeezes out a fixed-length output. Works by iteratively applying a permutation function through controlled input-output mixing.
  • created keccakf1600.dart to perform transformations on the 1600-bit state, achieving diffusion and mixing of bits across the state
  • created register64.dart and register64_list.dart to manage the 64-bit lanes and the state matrix of the algorithm

@balladyna balladyna force-pushed the ow-feature/keccak256-algorithm branch from 49120f1 to ed6667f Compare February 7, 2025 10:56
@balladyna balladyna force-pushed the ow-feature/keccak256-algorithm branch 2 times, most recently from 804d797 to bdd7953 Compare February 7, 2025 11:16
The purpose of this branch is to reimplement Keccak algorithm based on the pointycastle library. This addition enables secure hashing and is essential for supporting Ethereum-related operations, such as transaction validation and signing.

List of changes:
- created keccak.dart to simplify data absorption, finalization, and output generation using the Keccak sponge construction. This cryptographic algorithm absorbs an arbitrary-length input into an internal state and squeezes out a fixed-length output. Works by iteratively applying a permutation function through controlled input-output mixing.
- created keccakf1600.dart to perform transformations on the 1600-bit state, achieving diffusion and mixing of bits across the state
- created register64.dart and register64_list.dart to manage the 64-bit lanes and the state matrix of the algorithm
@balladyna balladyna force-pushed the ow-feature/keccak256-algorithm branch from bdd7953 to c19f09f Compare February 7, 2025 11:19
@kronikarz kronikarz merged commit 37f3e25 into master Feb 7, 2025
2 checks passed
@balladyna balladyna deleted the ow-feature/keccak256-algorithm branch February 7, 2025 11:34
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.

4 participants