Better HN
topnewbestaskshowjobs
Log inSign up

fantastisch

26 karma · joined May 23, 2020 (6y ago) · 23 submissions

Submissions

comment 6y ago · link · parent

Agreed. Pretty much asking for an intervention. Practically begging for a crackdown. Larger plan?

comment 6y ago · link · parent

When private organizations are regulating the speech of the population? It's a necessary slope.

Because doing it without centralized government control is bad. But regulation of speech can be good. Take a look at https://www.globaltimes.cn/content/1189120.shtml for an interesting discussion.

comment 6y ago · link · parent

you need others to not make crypto claims, but you're so sure making your crypto claim that it's not cryptographic.

it's always easy to front as an expert spectator and believe others work is no good. why don't you back it up with some effort?

I believe it is a crypto hash. so..a fun challenge?

how about this for a fun challenge, why don't you post a cryptanalysis and I'll link it from the README.

Thanks for the beamsplitter link!

maybe it is designed as a crypto hash

comment 6y ago · link · parent

Can you break this? If no, so your claim is basically hot air, is that right?

comment 6y ago · link · parent

> middle of the pack in smhasher

for all hashes. lot of those top ones are not crypto hashes.

> The ecrypt result is completely irrelevant when this can not be in any way be considered cryptographically secure

Break it first, then you can say that. otherwise, what would you know?

not sure if it's because English is not your first language or just had a grumpy day or something else, this came across veeery negative. Be positive in your comments on work.

if you want to be critical doing so with positivity gives it more credibility because it shows you're able to see both sides. leading people to assume you're more likely making a balanced rather than a biased assessment, whether or not that's true.

comment 6y ago · link · parent

well I've got a crazy theory for you, then.

I actually think there's something like a black hole inside nearly every Star.

Not just a dark core. But a region of emptiness.

BTW would it be possible to have an antimatter star? Like ball of antimatter interacting at the surface with matter and looking like a star

7.

Too Much Crypto [pdf](eprint.iacr.org ↗)

2 points · by fantastisch · 6y ago · discuss

comment 6y ago · link · parent

Can you break 128-bits?

How should I say it?

comment 6y ago · link · parent

No probs. I think your idea of unifying the two loops is a good one.

A new version that uses the idea and overcomes the challenges would be great, and would simplify the code even more.

If you had a way to make a start on it, I welcome your PR.

comment 6y ago · link · parent

No because I think that library is for encryption. This is for hashing.

comment 6y ago · link · parent

Great question, and thank you, Salvatore!

Some reasons for that are: different hashes for s and s\0 (without explicitly using length) to make it harder to create collisions, related to as you say better distribution/avalanche for short strings, also design-wise I like the asymmetry that strings not perfectly divisible by 8 will be treated a little differently. I just think that makes it better overall.

comment 6y ago · link · parent

Thank you, Austin!

BTW, not sure exactly what you mean by cross-half mixing, but I'm assuming it means mixing both halves of the 128 bit state with each other. There is that, on 3 lines 91[0], 100 and 108.

The 128 bit mix, stirs two adjacent blocks of 64 bits. Those 3 lines can mix blocks 1 & 2.

Subsequent mixes on either half then propagate that cross mix. So it does use the full 256 bit state.

Is that what you meant?

[0]: https://github.com/cris691/discohash/blob/master/src/discoha...

comment 6y ago · link · parent

> DiscoHash is included in SMHASHER [3] but its benchmark results aren't.

They are included, but understandably you missed them because it's also called BEBB4185, stated in README. Find BEBB4185 line in SMHASHER Readme.

Good question on the memory bandwidth. From memory it was a multicore system, so I think that has a higher memory bandwidth than a single core. Thanks for the STREAM thing!

comment 6y ago · link · parent

Simple hash, 128-bit mixing function is just:

  mix(const int A)
    {
      const int B = A+1;
      
      ds[A] *= P;
      ds[A] = rot(ds[A], 23);
      ds[A] *= Q;
      
      ds[B] ^= ds[A];

      ds[B] *= P;
      ds[B] = rot(ds[B], 23);
      ds[B] *= Q;
    }
with P and Q prime.

15.

Show HN: Discohash – Fast Hash(github.com ↗)

75 points · by fantastisch · 6y ago · 35 comments