News for hackers. Stuff that matters.

yoha

Well played! If only I had made my attempt earlier!

    2019-03-18T20:23:06+01:00
    AMD Phenom(tm) II X4 B50 Processor
    56.674783% (0x2912f5a00000 / 0x48792741a51a) ETA: 1 year 138 days (2020-09-18)
Re:Facebook Still Tracks People on Yelp, Duolingo, Indeed on Wednesday March 06, 2019 @03:36PM (#19322495)
If I can chime in, I have made NHK Easier to help practicing on stories from NHK News Web Easy.

https://nhkeasier.com/

As I said in another comment, individual verifiability and non-coercion are mutually exclusive online. However, there are indeed solutions for the other properties (including global integrity), and compromises between individual verifiability and non-coercion. For instance, you can have a look at Helios [1] or Belenios [2]. Current research is looking for stronger guarantees, a better compromise, or a more interesting voting system (such as Single Transferable Vote or Majority Judgment).

[1] https://vote.heliosvoting.org/

[2] http://www.belenios.org/

That is indeed the main issue with verifiable voting. The usual solutions offer various compromises, but it is not possible to both guarantee the ability to verify that one's ballot is counted correctly, and that you cannot prove for whom you voted.
Yes, it's possible, and it is an area of research in cryptography. For instance, have a look at Helios and Belenios.
> That's only possible if you sacrifice some of the stronger anonymity requirements

Untrue. You can use strong encryption to ensure confidentiality and zero-knowledge proofs to ensure integrity. Then, you can use methods from homomorphic encryption to tally the ballots. There is a whole area of research dedicated to this.

"Automated proof" means that the verification is automated. Actually automating the process of finding proofs is still mostly an open problem.

Formal proof software will help you on small stuff, but you will still do most of the work, and you have to go much more in details, so it takes much more time.

Re:Cracking the 12+ Character Password Barrier, Literally on Sunday January 15, 2017 @10:29AM (#13404399)
> When you try to come up with random words to compose a password

That's why you don't. Give a 64ki word dictionary from your native tongue to your computer and let it choose four words uniformly at random out of it. This gives you a password from a distribution with 64 bits of entropy, and is reasonably easy to memorize with moderate effort.

This means an attacker is expected to proceed to 2\\63 hashes to crack such a password. It would take almost 4 year to crack its MD5 digest on the rig used in the demonstration. If you not using a password manager for external sites (which might not use proper KDFs), you can throw in a fifth word, and be safe for the foreseeable future.

Re:Modern C [pdf] on Tuesday November 29, 2016 @01:25AM (#13061283)
Right, my bad. I tend to write loops in the former style, thinking of them as reversed(range(9)). This is another advantage of this style. I should have been more cautious when writing the second one.
Re:Modern C [pdf] on Monday November 28, 2016 @01:57PM (#13057538)
The point is that a beginner does not need to care about signedness. When you get to that point, you can take the time to explain how to loop properly over it.
Re:Modern C [pdf] on Monday November 28, 2016 @11:27AM (#13056422)
This is about weighing correction versus readability. In the "arrow operator" version, the readability is decreased; in the "proper" version, a type cast is required, and this can lead to bugs with values greater than 2^sizeof(ssize_t).

Obviously, I just follow the convention when contributing to an existing project.

Re:Modern C [pdf] on Monday November 28, 2016 @11:08AM (#13056265)
Decrementing loops is the one place where I have indulged in some trickery. I do:

    for (size_t i = 9; i --> 0; )
This has the advantage to be very easy to pattern-match once known. Obviously, for a beginner, I would just do:

    for (int i = 9; i >= 0; i -= 1)
No, it is perfectly fine. But it is also useful to know there are previous conversations to be read.
Clickbait is making a link a bait so that you click on it. In other words, it pretty much means an appealing title.
Re:Cartoon Laws of Physics on Saturday November 05, 2016 @10:13PM (#12883076)
Ask your search engine:

    "ignition" filetype:pdf
Re:Phasing Out SHA-1 on the Public Web on Wednesday October 19, 2016 @03:43AM (#12741860)
You are talking about making a combined hash function from MD5 and SHA-1. Keep in mind that it is not trivial. For instance, if you just output both SHA-1 and MD5, you are actually only as strong as the weakest hash function (trivially for preimage, but also true for collisions, see [1]).

If you are interested in hash function combiners, have a look at Robust Multi-Property Combiners for Hash Functions [2], a recent paper on the topic. It aims at getting several properties at the same time (preimage resistance, collision resistance). For simpler schemes with a single property, just explore the bibliography at the end of the paper.

[1] https://cryptopals.com/sets/7/challenges/52

[2] https://eprint.iacr.org/2016/723

Oh, my bad, I got confused with the brackets (which are not on a digit key). I really should have checked. See, we all make mistakes!
Edit: the actual figure is 90%

For other people struggling to read this comment: "(" is on the same key as "5" on Azerty keyboards.

Ideas that might help:

* set all redundant accounts to redirect mail to a main one

* do write the identifiers and passwords on paper notes, and have her keep them, for instance, inside her wallet

Re:China launches second trial space station on Friday September 16, 2016 @02:49PM (#12516332)
In short: because measuring effects the information, tampering cannot be concealed.
Re:Esoteric Topics in Computer Programming (2002) on Friday September 16, 2016 @01:05PM (#12515472)
Thanks for the link!

However, it seems like the page linked in the post is not available anymore.

I think this can be described as the ongoing eternal september [1].

[1] https://en.wikipedia.org/wiki/Eternal_September

Re:Show HN: A Multiplayer Geography Game Using WebSockets on Friday August 19, 2016 @12:37PM (#12321304)
It might be useful to allow changing one's guess. It's pretty annoying when you misclick in the middle of the map and cannot pick the correct location.
This is a very good point. I have observed that people tend to forget the physical differences between being small and being tall. Not everything is proportional [1].

[1] https://en.wikipedia.org/wiki/Square-cube_law

Older »