« first day (2865 days earlier)      last day (1805 days later) » 

4:28 AM
I don't think this migration was entirely appropriate:
0
Q: libsodium: crypto_stream_xor vs crypto_secretbox

neubertIf I'm reading the documentation for crypto_stream_xor and crypto_secretbox correctly, both functions use XSalsa20. The former does not have any authentication whereas the latter does. Pursuant to this I would expect the first few bytes of crypto_secretbox to be the same as the first few bytes of...

The question is really about the algorithm implemented by crypto_secretbox and how it is related to crypto_stream_xor; that there was PHP code involved is a bit of a red herring.
 
 
4 hours later…
8:36 AM
It's still a question about how some specific implementation in some specific library works. Which would be off-topic.
 
 
4 hours later…
12:41 PM
@MaartenBodewes I make systems to detect munitions. I have a team currently detecting Nazi bombs from Holland so they can be later removed. I need these stupid cables so we can unplug and plug in sensors underwater, which can be everywhere in Holland.
After getting my Ph.D. paid for by kill vehicles and the NSA, I am doing humanitarian de-mining for net positive karma. :)
 
12:59 PM
LOL, so it is not the pump for your water filter / oxidiser then :P
 
I'm 60% semiconductor physics, 30% E&M, 9% bullshit, and 1% cryptography.
 
1:56 PM
@Maeher It's about the relation of a widely used stream cipher, XSalsa20, and a widely used authenticated cipher, crypto_secretbox_xsalsa20poly1305, which are both implemented in many libraries in many languages and used in many protocols. The phrasing in PHP is not a substantial part of the legitimate question about how the algorithms are related.
 
How is crypto_secretbox_xsalsa20poly1305 not just some weird specific thing of NaCL?
 
It's not promising. It gets so much unwarranted attention and it is so bad that we joke about it. But we really wish it wasn't that way. It's a viral idea and it keeps getting reinvented. Academics (usually people who study something in a different field) that promote it likely haven't put significant effort into studying modern cryptography. To use an analogy: These are not chemists, they're members of a school alchemy club. And they don't even realize it because they're not humble enough to consider that there is a huge legitimate body of collective knowledge to base ideas off of. — Future Security 1 min ago
Comment on "chaos"-based cryptography. Is it a fair statement?
 
2:13 PM
@Maeher NaCl is widely used in many applications and protocols. Maybe you don't like it but it's a serious cryptography design and widely deployed, and it is a good choice for many applications because it is widely available in many languages without disasters like OpenSSL's API and ABI. Essentially the same algorithm—with one difference: 256 bits of the first 512-bit block are skipped—is used in TLS today, ChaCha/Poly1305 of RFC 7539.
 
@SqueamishOssifrage I have no strong feeling whatsoever about it. But everything you say seems to point to the fact that it's an implementation question.
 
0
Q: inappropriate migrations of crypto questions to stackoverflow

neubertConsider this question: https://stackoverflow.com/questions/56186844/generating-hchacha20-internal-state-with-existant-chacha20-implementation How is that question off topic when reusing blowfish algorithm to implement bcrypt isn't? Does the fact that I include code samples mean it's automatica...

 
@Maeher Would you say the same if it were about crypto_secretbox_aes256gcm instead?
 
yes?
 
What if it were written about AES-GCM instead?
 
2:28 PM
no
 
Why do you draw a distinction, when it is in fact exactly the same algorithm and has exactly the same outputs for the same inputs?
Are we forbidden from illustrating questions with executable code?
 
@SqueamishOssifrage As I understand the scope of the site, yes.
 
?????
0
Q: Are we allowed to illustrate questions about cryptographic algorithms with executable code?

Squeamish OssifrageAccording to @Maeher, we are not allowed to illustrate questions on crypto.stackexchange.com with executable code—such questions are permissible only on stackoverflow.com: https://chat.stackexchange.com/transcript/message/50330566#50330566 Squeamish Ossifrage: Are we forbidden from illustrat...

 
You and I have very different opinions on what makes for a "clear way" of phrasing something.
 
@Maeher It is sometimes the clearest way to phrase something. I've seen plenty of papers with what were once straightforward algorithms transcribed into math formulas that are completely impenetrable piles of symbolgoo. I've also seen plenty of math formulas that cut to the heart of a pile of spaghetti code. What strikes me as bizarre is a proscription on the particular form of expression for a question.
 
2:47 PM
0
Q: Are we allowed to illustrate questions about cryptographic algorithms with executable code?

Squeamish OssifrageAccording to @Maeher, we are not allowed to illustrate questions on crypto.stackexchange.com with executable code—such questions are permissible only on stackoverflow.com: https://chat.stackexchange.com/transcript/message/50330566#50330566 Squeamish Ossifrage: Are we forbidden from illustrat...

 
@SqueamishOssifrage I don't see how the overhead of having executable code has ever added anything useful to an algorithmic description. But you do you.
 
3:25 PM
It's better if the description of an algorithm is unintelligible to a machine, and only interpretable by human foibles of typesetting conventions and guessing inconsistent meanings of symbols across editorial styles?
 
 
1 hour later…
4:51 PM
Having executable code at least makes sure that it works.
as in.. it compiles
 

« first day (2865 days earlier)      last day (1805 days later) »