Hacker Newsnew | past | comments | ask | show | jobs | submit | pbak's commentslogin

Interesting. You use Fisher-Yates extensively. How do you feed it ?


Thanks for the question! You’re spot on. Fisher-Yates is a key part of Quintrophy1x’s design, used twice per instance: once to generate a dynamic 256-element S-box and once for a 128-byte block permutation. For both shuffles, we seed Fisher-Yates with a SHA-512 hash of the key and nonce.

For the S-box, we generate a 256-element lookup table. We feed the Fisher-Yates shuffle a robust stream of pseudo-random numbers derived from the 512-bit key and a 16-byte nonce, processed through a SHA-512 hash function. We tweak this input slightly for the S-box so it’s distinct from other uses, ensuring every encryption gets a unique table. The shuffle then scrambles the 0-255 values based on this randomness, giving us a key-dependent substitution layer. For the permutation, we take each 128-byte block of data and reorder its bytes. We feed Fisher-Yates the same key and nonce combo, hashed again, to produce another pseudo-random sequence. This drives the shuffle, rearranging the block’s byte positions in a way that’s consistent for a given key-nonce pair.

This approach ensures each shuffle is deterministic for a given key-nonce pair (crucial for reversibility) but appears random to an attacker without the key. SHA-512’s 512-bit output provides ample entropy, and the nonce adds uniqueness per encryption.


Well, considering the author is Nancy Pelosi's biographer, and nobody involved disavowed the story in 3 years despite its very widespread circulation, and how much the American MAGA right has dissected it since, I'm not quite sure why it would be that hard to believe.


Thanks for the context!


Or :

They are a pay for play publication, which some PR agency associated with Foggy Bottom "contacted" to tout the horn of some group of western capitalists.

Said capitalists got beat at their own anti-protectionist game IRL. They have no easy solution to end up on top, so they are trying their hand at "manifesting" the result they want, like some under-prepared teenagers before a test.

This "you're overproducing" meme is their try at using basic Marxist semantics. According to Marx, Capitalist economic crises are always crises of overproduction of commodities (exchange values).

The meme is designed to sow doubt in minds worldwide which are in the danger of thinking that Chinese Communism might have solved some of the basic contradictions of capitalism.

This meme is an ode to fatalism: even in Communism, ever declining rates of profit are inevitable and so are boom and bust cycles and crises.

With luck, even some people of high rank in the Chinese intelligentsia could be convinced of that...


This is IMHO a trigger warning too far and is also sooo culturaly tonedeaf it's not even funny...


UK, a country with a long naval tradition, destroyed over 25 Russian warships using Ukrainians in Ukraine.

FTFY, I know it's easy to mix up the two when trying to generate engagement.


Life hack wrt Ireland: if you can't calculate profit, you can't calculate tax...


Except that Russian officials up and down the flagpole - including the head honcho just this week - have very clearly and publicly said they'd rather that Poland, Romania and Hungary split up the Western half, and deal with the rebellious Galicians than them.

They don't want the headache and would be rather content to stop their efforts at Kharkhiv-Odessa line (if that's even possible to achieve for them, of course).


If I recall correctly they attacked and tried to surround Kyiv.


No, women might actually be conscripted too, as some presidential office members directly mentioned in interviews, and a couple of TV's had incidentally done impromptu "video polling" in the streets of Kyiv.


If only Canada had let the judicial process do its thing and at least imprisoned the man as properly requested by India, that killer of 28 people and Canadian citizen would be paying for his crimes, alive.

Blows my mind that instead of doing that, I read an article how he was somehow meeting CSIS agents warning him of the danger two weeks prior to the assassination...


"Yuri, you lost another submarine ... ?"


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: