HerodotusDev / integrity

Apache License 2.0
61 stars 18 forks source link

Changable hasher #103

Closed fmkra closed 6 months ago

fmkra commented 7 months ago

To change version run either blake.sh or keccak.sh. By default keccak is active.

Okm165 commented 7 months ago

@fmkra pls check if os selection scripts work for u

fmkra commented 7 months ago

@fmkra pls check if os selection scripts work for u

Works great

Okm165 commented 6 months ago

One minor issue persists when using keccak.sh with the native Keccak implementation: it repeatedly adds comment symbols indefinitely to the parts related to Blake2s (this renders blake2s section not changeable with blake2s.sh), and vice versa. Hash sections itself have some comments Do we merge it? It works if u use it correctly

fmkra commented 6 months ago

Decided to ditch bash and created a python script which is much better and allows for easier expandability in the future (if we wanted to add other hashers)