Skip to content

SHA3-08 TupleHash and TupleHashXOF #43

Description

@turkananation

SHA3-08 TupleHash and TupleHashXOF

Summary

Implement TupleHash128, TupleHash256, TupleHashXOF128, and TupleHashXOF256.

Scope

  • Encode every tuple element with encode_string.
  • Preserve empty tuple elements.
  • Add NIST TupleHash and TupleHashXOF examples.
  • Add tuple-boundary ambiguity tests.

Acceptance criteria

  • NIST TupleHash vectors pass.
  • [ab, c] differs from [a, bc].
  • [a, empty, b] differs from [a, b].
  • Fixed-output and XOF mode are separated.

References

  • doc/FIPS202_SP800185_RELEASE_GUIDE.md - TupleHash and TupleHashXOF
  • SP 800-185 Section 5

Priority: P1

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Priority: highSHA3FIPS 202 and SP 800-185 SHA-3 workenhancementNew feature or request

    Projects

    • Status
      Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions