hvidgaard

- friends
1 link karma
2,557 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • Five-Year Club

    Verified Email

Microsoft pulling free development tools for Windows 8 desktop apps, only lets you ride the Metro for free by linucsin programming

[–]hvidgaard 4 points5 points ago

I still annoyed that I cannot develop apps for my iOS devices, using the official tools, without ALSO buying a fucking Mac...

GooseSlayer describes AES encryption in common language. by Prince_Jellyfishin DepthHub

[–]hvidgaard 1 point2 points ago

Didn't get a response quite fast enough, so I found my crypto book instead. All that is really needed is the definition of "full irreversible encryption", or rather it's called "Perfect Secrecy": the probability of guessing a message if you know the ciphertext, is no better than just guessing x without knowing the ciphertext. In layman terms, it means that if Alice encrypt a message m, and send it to Bob, then the probability of Claire guessing m does not improve if she knows the encrypted message.

The informal proof is simple. If the keyspace, K, is smaller than the ciphertext space, C, (and plaintext space P), then for any given element in P (think string to encrypt), it will not map onto every element of C, because there are not enough keys to do so.. Thus if I know the cipher text, I will be able to discard some elements in the plaintext space, and increase your chance of guessing correctly.

GooseSlayer describes AES encryption in common language. by Prince_Jellyfishin DepthHub

[–]hvidgaard 0 points1 point ago

Side channel attacks don't attack the algorithm which is probably what EnragedMoose meant. Timing attacks, power analysis, and fault analysis all makes assumptions about implementation, and uses additional information garnered from attacking those implementations.

He specifically said component, but no matter. If you successfully break AES using a side-channel attack, you're generally able to break a specific implementation which did not know of this attack. Two different implementations might not possible to break using the same attack (but you already know this). I find it unlikely to a possibility, that they know of a side channel attack, but I'm by no means a security professional. My expertise is several semesters of security and theoretical crypto with Ivan Damgård (the Damgård in Merkel-Damgård contruction) as professor and mentor. Personally, I believe that this comment sums it up fairly well - it's possible, and if anyone is in position to do it, it would be the NSA - but it's not a given.

... are required to utilize, at minimum, FIPS PUB 186-3 / Curve P-384 (Not symmetric encryption algorithms [e.g. AES, DES, SKIPJACK] like you seem to be under the impression of) for use of Top Secret data ...

I did not know of this fact, but it is interesting. Though, we're now in the realm of PK crypto systems, so it might be because of other factors, such as anyone must be able to encrypt possible classified information, but only those with the highest clearance must be able to decrypt it. All speculation really.

GooseSlayer describes AES encryption in common language. by Prince_Jellyfishin DepthHub

[–]hvidgaard 0 points1 point ago

You don't attack AES, you attack what makes up AES.

If you attack a component of AES, to break AES, you're by definition attacking AES.

It is widely believed in NETSEC circles that the NSA has extremely reliable side channel attacks.

Do you really believe that this conspiracy is widely believed in the professional security world? Do you also believe that NSA would approve an encryption scheme for it's most secret information, and recommend it to companies holding secrets worth billions of dollars (secrets very important to the stability of the financial markets) - if it know about one or more "extremely reliable side channel attacks". That is just so absurd I don't know what to say.

GooseSlayer describes AES encryption in common language. by Prince_Jellyfishin DepthHub

[–]hvidgaard 2 points3 points ago

I'm not sure there is a proof, but I'm pretty sure that OTP is the only known algorithm that achieves this, thus acting as a fairly strong indicator that it might be the case - I'll shoot my crypto professor a mail and ask, and let you know.

GooseSlayer describes AES encryption in common language. by Prince_Jellyfishin DepthHub

[–]hvidgaard 10 points11 points ago

By "mathematically very strong" I think he means that the best known attacks are infeasible even with "unlimited" resources. The term strong does not make much sense in this context if you're talking as a mathematician.

That said, the theory isn't mathematically sound, as we have not proved that it is impossible to break it faster than bruteforce (it has however been proved that it IS possible to break faster than bruteforce). That does not make it weak or bad, just means that no known attacks on AES are significant.

Are you ever afraid to share your views of coffee with people out of fear that they will think you are a pretentious asshole? by Beznetin Coffee

[–]hvidgaard 0 points1 point ago

drumofny has written a very good comment, so I don't have much to add.

I used to feel that way when I was younger about anything that interested me. Now I openly talk about coffee with enthusiasm, but I don't look down on "regular" coffee. I just don't drink it, and when I'm offered a cup, I kindly decline. If they ask why (they know I'm a raging coffee addict) I tell them that I'm a bit of a coffee nerd, that prefer freshly ground and brewed coffee with recently roasted beans, because I think it tastes so much better - I also offer them a cup at my place if they want to try or point them to places I know make a good cup.

If someone on your facebook things that you're a snob, you probably don't want them on your friendslist anyway.

Visual Studio 11 Express (Free) Editions will only target Metro Apps by wordsmithiein programming

[–]hvidgaard 5 points6 points ago

I may not be using the very advanced features, but I usually can find the tools I need in GDB, but the interface is in dire need of an overhaul. I suppose GDB is fine if you only have access to a CLI.

Why I love Fallout by FOR_SClENCEin gaming

[–]hvidgaard 7 points8 points ago

They still don't hold a candle to the first two. Fallout 3 (and the later ones as well) was designed to work on consoles in the first place, and I'm sure that accounts for some of the blame.

Please Don't Learn to Code by kracekumarin coding

[–]hvidgaard 0 points1 point ago

The problem of creating the spec in the first place is not the only problem to solve. How do you add the functionality so it's not a maintenance nightmare? What if the spec is optimization wrt speed or how to you create it with extensibility and modular design in mind?

Simplest explanation of P vs NP I've come across by viddyin compsci

[–]hvidgaard 0 points1 point ago

Ahh, yeah, I remember that now. Thanks for the refresh.

Simplest explanation of P vs NP I've come across by viddyin compsci

[–]hvidgaard 1 point2 points ago

I'm not. NP-Complete problems are NP-Hard by definition.

Why should I have written ZeroMQ in C, not C++ by tompa_coderin programming

[–]hvidgaard 9 points10 points ago

I think it's a case of: "less that can go wrong" kinda thing. In C++ you have a much more complex language, and thus have to be much more careful about what you write, and how you do certain things.

Simplest explanation of P vs NP I've come across by viddyin compsci

[–]hvidgaard 0 points1 point ago

So, what you're calling wrong is the fact that he doesn't mention that the oracle must run in polytime?

Simplest explanation of P vs NP I've come across by viddyin compsci

[–]hvidgaard 2 points3 points ago

I'm intrigued. From my complexity classes I remember the definition of HP-Hard being problems that all NP problems reduce to. Are you saying this is wrong? Also, a conjecture is just that, a conjecture - no proof exists.

Semester is over and I decided to take my first week off to learn about version control.. was completely missing out. by modaoin learnprogramming

[–]hvidgaard 20 points21 points ago

Good, you've covered the first step: Identifying that something is bad. Now you need to learn the second step: Come with constructive criticism or just keep your mouth shut.

Broscience meets science and some internet detectives in r/fitness. by carsonbizin DepthHub

[–]hvidgaard 9 points10 points ago

Where else would you suggest people to go for advice?

So this happened: by Nausea1in self

[–]hvidgaard 1 point2 points ago

It clearly must have been reasonably close, so the minutes would have been saved. That said, no reason to chastise a person who obviously did the best they could.

PSA - Orion: Dino Beatdown just came out on Steam. There's a lot of reasons not to buy it, but the big one is that it doesn't fucking work. by ItsOppositeDayHerein IndieGaming

[–]hvidgaard 1 point2 points ago

True, but imagine the outcry if he said "we will have a patch ready as soon as possible" and not giving a timeframe. My point is that 2-3 days is very short time to find a possibly non-trivial bug, fix it, and test the fix, possibly also test it at an actual customers having the problem in the first place.

PSA - Orion: Dino Beatdown just came out on Steam. There's a lot of reasons not to buy it, but the big one is that it doesn't fucking work. by ItsOppositeDayHerein IndieGaming

[–]hvidgaard 0 points1 point ago

The tricky thing is, that you must not release a patch that will make anything even remotely worse. Even identifying the cause of a problem can take days, so I don't blame him for saying a fix will be out Monday - that is a reasonable estimate (2-3 days) if you don't have the complete knowledge of what is wrong and how to fix it.

Issues with my Bodum french press by hawk196in Coffee

[–]hvidgaard 0 points1 point ago

My old bodum had a stainless steel screw, but the replacement I bought had a plastic one. Luckily the glass is the same size so I just replaced that.

A Tool That Would Be Rather Nice To Have [Static Analysis for Unit Testing] by monkeyscreatesoftwarin coding

[–]hvidgaard 4 points5 points ago

sigh, not again. Solving the halting problem involve solving the general case. It is still possible to solve it partially, i.e. detect the most common infinite loops.

Do you think this is a secure way to store passwords in a database? by CodyOdiin compsci

[–]hvidgaard 0 points1 point ago

I never said anything else, just that salting does not mean you can use a fast hashing algorithm.

view more: next