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

Use SHA256 to hash salted creator bytes for transaction ID #502

Merged
merged 1 commit into from
Nov 2, 2022

Commits on Nov 2, 2022

  1. Use SHA256 to hash salted creator bytes for transaction ID

    Code previously used whichever hash function the client supplied when connecting the Gateway. For some implementations this hash function may use a different algorithm or even just pass through bytes unchanged. Fabric requires that the salted creator bytes be SHA256 hashed when generating a transaction ID. Any other algorithm would cause an invalid transaction ID to be generated.
    
    Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
    bestbeforetoday committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    796440f View commit details
    Browse the repository at this point in the history