Dustin-Ray / capyCRYPT

An experimental high-performance cryptosystem.
MIT License
12 stars 1 forks source link

feature: add additional hash functions #11

Open Dustin-Ray opened 1 year ago

Dustin-Ray commented 1 year ago

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 commented 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.

Dustin-Ray commented 1 year ago

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 commented 4 months ago

new top candidate: ascon hash