Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

Add the ability to configure hash algorithm for BitcoinLike currencies #30

Open
pollastri-pierre opened this issue Aug 2, 2018 · 0 comments

Comments

@pollastri-pierre
Copy link
Member

Currently we only use sha256 as the hashing algorithm for blockchain protocols based on Bitcoin. Some currencies are using different hashing algorithm and we need to abstract this.

The most flexible solution will be to abstract hashing for every single case we need to hash:

  • The hash function used to compute transaction hash
  • The hash function used to derive public keys
  • Hash function to compute challenge to sign
  • ...
hzheng-ledger pushed a commit to hzheng-ledger/lib-ledger-core that referenced this issue Apr 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant