Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Keccak256 to SHA256 #21

Closed
colin-axner opened this issue Apr 12, 2018 · 2 comments
Closed

Change Keccak256 to SHA256 #21

colin-axner opened this issue Apr 12, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@colin-axner
Copy link
Member

Tendermint uses RIPEMD160 as its hash function when forming blocks. We should adjust the root contract to do the same.

Use of RIPEMD160 on tendermint can be seen here:
https://github.com/tendermint/tendermint/blob/master/types/tx.go#L19

@colin-axner colin-axner added the enhancement New feature or request label Apr 12, 2018
@hamdiallam
Copy link
Member

Lol the most expensive hash function available in the solidity smart contract.

@colin-axner colin-axner changed the title Change Keccak256 to RIPEMD160 Change Keccak256 to SHA256 Aug 28, 2018
@colin-axner
Copy link
Member Author

sha256 for tmhash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants