140 karma · joined Nov 30, 2016 (9y ago) · 24 submissions
comment 6mo ago · link · parent
They use TLA+ with TLC which model checks the write ahead log (a component of the system). But that only models the WAL protocol, not the actual Rust code and not the other 99% of the system.
Any formal verification is of course awesome to see though.
comment 1y ago · link · parent
comment 1y ago · link · parent
This is why tools like formal verification and symbolic analyses can help you establish that for all possible integers X, your function does the right thing (for some definition of “right”). You get this assurance without having to actually enumerate all X.
comment 3y ago · link · parent
There are no obvious ways to improve on this work, so it is not a matter of engineering. We really do need another breakthrough result to get us closer to practicality.
5.
Retentive Network: A Successor to Transformer for Large Language Models(arxiv.org ↗)
112 points · by sangel · 3y ago · 19 comments
comment 3y ago · link · parent
comment 4y ago · link · parent
We never built it into a product because we couldn't figure out a way to monetize it to pay for the servers.
comment 4y ago · link · parent
Key idea is the client issues a query that is independent of what they really want. This is the “offline” query. This query is linear (unavoidable) and the client gets some hints as a result
Then later, the client can issue one or more queries for elements they want and those queries can be sublinear in terms of computation. The client uses hints to make that happen.
Some papers on this are:
https://eprint.iacr.org/2019/1075.pdf
comment 4y ago · link · parent
comment 4y ago · link · parent
I'm really curious to see where the government acquired their evidence (and what solid evidence do they have), and whether it ends up holding up in court.
comment 4y ago · link · parent
Suppose H(s||k) is a collision-resistant hash function. Let's build another CRHF from H as follows: H'(s || k) = H(s || k) || last-bit-of-k.
Now let's instantiate the cryptosystem you proposed with H'. Suppose m is message and that it is of length equal to the length of the bitstring produced by H'.
We have C = H'(s||k) XOR m.
The ciphertext is thus: (k, C).
What can an attacker do? Well, the attacker can XOR the last bit of C with the last bit of k and get the last bit of m. This is already enough to violate semantic security.
comment 6y ago · link · parent
You first compare target-digest with all endpoints. If it's a match with any of them, good. Then you know a pre-image is in that column.
If not, then try H(R_last(target-digest)). Does it match any endpoint?
If not, then try H(R_last(H(R_second-to-last(target-digest))).
Rinse and repeat.
comment 6y ago · link · parent
Column 1 Column 2
start-text1 start-text2
<intermediate> <intermediate>
last-hash1 last-hash2
You only store the start text and the last hash for each column. <intermediate> consists of a mix of passwords ("text ") and hashes. To see how they are computed, let us narrow our attention to a single column.
text1
<hash-1> computed using H(text1)
<text-2> computed using R_1(hash-1)
<hash-2> computed using H(text-2)
<text-3> computed using R_2(hash-2)
last-hash computed using H(text-3)
Each column will look like that. I'm using <stuff> to denote things that are not stored. H is the hash function you are creating the rainbow table for. R_1, R_2, etc. are the reduction functions. Each column uses the same hash function and reduction functions but uses a different starting text.
Note that in a rainbow table that consists of k columns, there is no need to recompute hash/reduction functions for each chain. Instead, the attacker computes R_last(target-digest), and checks that against all the endpoints (last hash) of all column. If it matches any endpoint, then that chain likely has the corresponding password. Otherwise, compute R_last(H(R_second_to_last(target-digest))), and compare the result with all endpoints. Rinse and repeat. In the worst case, you have to compute as many hash/reduction functions as there are rows (regardless of the number of columns since all columns use the same hash and reduction functions).
comment 7y ago · link · parent
The goal of MPC is to hide the inputs of the program. But it is okay for an adversary to make all sorts of inferences by looking at the outputs.
The goal of differential privacy is to limit the kind of inferences that an adversary can make about a particular user/input from the output itself.
comment 9y ago · link · parent
Sender anonymity means that the server (or any recipient) cannot determine who sent a particular message. In your example, the centralized server absolutely knows which tweet-sized message was sent by each sender. So your proposal does not provide sender anonymity. Unless of course, the senders use an actual anonymity system to send their messages to the server...