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

feature: add additional hash functions #11

Open
Dustin-Ray opened this issue Oct 17, 2023 · 3 comments
Open

feature: add additional hash functions #11

Dustin-Ray opened this issue Oct 17, 2023 · 3 comments
Labels
feature Add new functionality to the library improvement Improve the design, usability, safety, and/or efficiency of the library Larger Project Larger project sizing affecting multiple areas of the library. Not difficult, but more to consider.

Comments

@Dustin-Ray
Copy link
Owner

currently only sha3 is supported. it would be interesting to allow the library to support a wider variety of hash functions and sponge permutations.

@Dustin-Ray Dustin-Ray changed the title add additional hash functions feature: add additional hash functions Oct 18, 2023
@Dustin-Ray
Copy link
Owner Author

this will require a rethinking of how the keystream is created. even with sliding window encryption/decryption, functions like AES are not inherently designed as XOF. CBC/CTR mode hash functions may be able to mimic a keystream.

@Dustin-Ray Dustin-Ray added the feature Add new functionality to the library label Oct 20, 2023
@Dustin-Ray
Copy link
Owner Author

Dustin-Ray commented Oct 20, 2023

Some hash functions that would be cool to add, in anticipation of future use of this library for the construction of merkle trees and AIR/QAP representations of hashes:

  1. BLAKE
  2. Poseidon
  3. Rescue Prime

@Dustin-Ray Dustin-Ray added Larger Project Larger project sizing affecting multiple areas of the library. Not difficult, but more to consider. improvement Improve the design, usability, safety, and/or efficiency of the library labels Oct 27, 2023
@Dustin-Ray
Copy link
Owner Author

new top candidate: ascon hash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Add new functionality to the library improvement Improve the design, usability, safety, and/or efficiency of the library Larger Project Larger project sizing affecting multiple areas of the library. Not difficult, but more to consider.
Projects
None yet
Development

No branches or pull requests

1 participant