archethic-foundation / archethic-foundation/archethic-node
Use native crypto keccak256 hash
- Dominant language
- Elixir
- Stars
- 82
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
### Is your feature request related to a problem?
As described in this PR #1203 OpenSSL will support keccak256 hash algo in 3.2 version (https://github.com/openssl/openssl/issues/19304)
Erlang will support it when it will be released (https://github.com/erlang/otp/issues/6200)
### Describe the solution you'd like
Once OpenSSL release 3.2 and erlang integrate it we should use native crypto module for this hash and remove the dependency to ex_keccak
### Additional context
Erlang may integrate this hash algo in OTP26 while we are currently in OTP25.
Also we need to ensure all node are up to date with the version 3.2 of OpenSSL
### Epic
_No response_
Contributor guide
Research direction
Start by locating the ex_keccak dependency and its keccak256 call sites, then check the project's Erlang/OTP and OpenSSL version configuration. Confirm native keccak256 support in the target versions and identify the node upgrade requirements. Done means the native crypto module is used, ex_keccak is removed, and all nodes meet the required OpenSSL version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir, erlang
- Domain
- backend, blockchain, cryptography
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100