HNHacker News
TopNewBestAskShowJobs

aszepieniec

22 karma · joined May 2, 2012

submissionscomments
aszepieniec··on Soundness Error in BrainSTARK
It turns out there is an attack on the BrainSTARK proof system [1]. The tutorial was extended to explain and fix the attack.

[1]: https://aszepieniec.github.io/stark-brainfuck/

aszepieniec··on BrainSTARK: STARKs for Brainfuck
Thanks for the remark. I updated the links at the bottom to make navigation easier; I hope it helps.
aszepieniec··on BrainSTARK: STARKs for Brainfuck
This tutorial covers the design of a STARK engine for Brainfuck.

A STARK [1] allows you to prove the correct execution of a computer program. The verifier can verify the resulting proof with less resources than it takes to naïvely re-execute the program.

Brainfuck [2] is a Turing-complete programming language that corresponds to a relatively straightforward instruction set architecture.

With this tutorial you will be able to prove and verify the correct execution of arbitrary Brainfuck programs.

[1]: https://aszepieniec.github.io/stark-anatomy/ [2]: https://en.wikipedia.org/wiki/Brainfuck

aszepieniec··on Proof-of-Stake is not Objective
The correct view of a proof-of-stake blockchain depends on who you ask for it. As a result, a) the cost of an attack cannot be calculated in units internal to the blockchain, making security analyses void; b) debts cannot be settled between parties that do not already agree on which third parties are trustworthy; and c) the final resolution of disputes must come from courts.
aszepieniec··on SoK: Gröbner Basis Algorithms for Arithmetization Oriented Ciphers
AES/Rijdael is already somewhat arithmetization-oriented, because all its constituent operations are over the field GF(256). Hash functions like SHA2-256 and SHA3/Keccak do not have this property. However, you need to adapt the field to the zk-SNARK proof system if you want to save on performance cost, so you won't be able to use AES in this context anyway.

The first cipher to have this property was, I think, LowMC (2015). There have been a bunch more proposals since -- MiMC (2016), GMiMC (2019), Starkad and Poseidon (2019), Vision and Rescue (2019), and Rescue-Prime [1] (2020). I may be missing some; there was a rapid development in this field in the last years.

[1]: https://eprint.iacr.org/2020/1143

aszepieniec··on Unbalanced oil and vinegar UOV digital signatures
This stackexchange answer does a reasonable job: https://crypto.stackexchange.com/questions/40921/how-does-mu...
aszepieniec··on [dead]
This is only true if humans don't own themselves or if they have no value.
aszepieniec··on Scientific American’s gun error
Gun control advocates cite statistics of the kind "how many deaths are caused by guns" as justification for more gun control. Frankly, whatever the statistic is, it is too high. But that is not the point.

But in order to successfully make an argument along the lines of "more gun control will save lives", they must also cite statistics of the kind "how many lives are saved by guns". Obviously, if guns cause the death of 12000 people yearly and save the lives of 100000 people yearly, gun control is a bad idea. On the other hand, if they only save the lives of 100 people yearly, it might be a good idea after all. I have yet to see a single article on the internet citing such a number. Why is it so hard to find such a statistic?

The number of lives saved by guns (not counting police and military guns) is quite impossible to count. One might succeed in counting the number of cases where guns are used in self-defense, even though these cases usually go unnoticed. But how do you count the number of cases where the would-be perpetrator chooses not to commit the crime on account of a gun being present in defense of the would-be victim? Or doesn't even start to think about the crime?

This is a classic case of Bastiat's "that which is not seen". Because the statistic cannot be calculated, people do not take it into account. But they should if they want to make an effective argument for more gun control based on statistics.

Because the relevant statistics cannot be calculated, statistics should not be used in policy debates such as the one about gun control. Rather, let us reason about the unseen consequences of the actions of individuals as well as of the government. Without involving emotional arguments from either side.

aszepieniec··on Scientific American’s gun error
And then when the evidence does not match up, he fudges with one of his parameters, V, to "explain" it.
aszepieniec··on Show HN: LaughMatch
Great idea. My first impression is: "wait, I'm being judged after only two videos?" You probably want to increase that number to five or so. Good luck!
aszepieniec··on Internet Access Is a Human Right, Says United Nations
Just who is going to use violence against whom so that whose rights are not violated?