Open Dustin-Ray opened 1 year ago
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.
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:
new top candidate: ascon hash
currently only sha3 is supported. it would be interesting to allow the library to support a wider variety of hash functions and sponge permutations.