web3p / web3.php

A php interface for interacting with the Ethereum blockchain and ecosystem. Native ABI parsing and smart contract interactions.
MIT License
1.16k stars 543 forks source link

How to implement Python-like solidityKeccak? #290

Closed darren2025 closed 1 year ago

darren2025 commented 2 years ago
final_hash = Web3.solidityKeccak(['bytes','bytes','bytes'], [
    b,
    a,
    c
])

I didn't find anything at Utils

sc0Vu commented 1 year ago

Hi @darren2025

That's keccak 256 hash library written in PHP. I think someone already port this into python.