Skip to content

Conversation

@pmikolajczyk41
Copy link
Member

@pmikolajczyk41 pmikolajczyk41 commented Nov 13, 2025

This PR adds a wasm-specific version of the keccak functionalities in the crypto package. The compiled binary will expect an external wasm module arbkeccak exposing keccak256 function with 3 inputs:

  • pointer to the input byte array
  • length of the input (number of bytes to be hashed)
  • pointer to the output byte array (expected 32 bytes space)

companion PR: OffchainLabs/nitro#4001
part of NIT-4075

@pmikolajczyk41 pmikolajczyk41 force-pushed the pmikolajczyk/NIT-4075-keccak branch from 903fb81 to 8d4e798 Compare November 13, 2025 14:12
@pmikolajczyk41 pmikolajczyk41 force-pushed the pmikolajczyk/NIT-4075-keccak branch from 8d4e798 to 3d6ff7c Compare November 13, 2025 14:30
@pmikolajczyk41 pmikolajczyk41 changed the title arbitrum: Extract keccak for ZKVM precompile substitution arbitrum: Outsource keccak implementation for wasm Nov 13, 2025
@pmikolajczyk41 pmikolajczyk41 marked this pull request as ready for review November 18, 2025 12:56
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