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

Is it possible to convert NORX into a hash algorithm? #3

Open
DonaldTsang opened this issue Nov 12, 2019 · 3 comments
Open

Is it possible to convert NORX into a hash algorithm? #3

DonaldTsang opened this issue Nov 12, 2019 · 3 comments

Comments

@DonaldTsang
Copy link

Since SHA3 is a hash algorithm of the keccak permutation (also used in LibDisco/Strobe as AEAD),
is it possible to turn NORX into a hash function, and if so, how fast is it (in C, Go and Python3)?

@Daeinar
Copy link
Member

Daeinar commented Nov 13, 2019

You could do that but we know little about the security of such a NORX-based hash function. My intuition is that you would need to have many more rounds of the NORX permutation to turn it into a secure hash function which would obviously impact performance.

Why are you interested in that if I may ask?

@DonaldTsang
Copy link
Author

DonaldTsang commented Nov 14, 2019

@Daeinar because I am interested in sponge functions that are two-dimensional based on BLAKE/BLAKE2/Salsa/ChaCha, and not three-dimensional (see Keccak/SHA3/KangarooTwelve) and since they are easier to implement and conceptualize, why not turn this into a full fledged hash algorithm?

Side note: I have challenged myself to create "the most easy to explain (ELI5 but for middle/high school) sponge construction that is 128 or 256 bit secure" and I think NORX is a better candidate than Keccak (SHA3/KangarooTwelve) or Skein (which skein denies to be a sponge function). Cubehash and JH are both unsecure by nature, so I would not like to use them.

Reference to Skein-as-a-Sponge (SkaaSp): https://eprint.iacr.org/2010/432.pdf

Another thing is that I do not consider Ascon (https://ascon.iaik.tugraz.at/specification.html) to be a good hash candidate from the CAESAR competition, as it has a 320-bit state, which is expected to be a "light" sponge function.

@DonaldTsang
Copy link
Author

DonaldTsang commented Nov 22, 2019

Here is a list of other hashes to be considered to turn into a sponge function:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants