Live data from Hacker News

Fully homomorphic encryption and the dawn of a private internet

bozmen.io

71–80 of 202 posts

Re: Fully homomorphic encryption and the dawn of a private internet

#71
post #57

Earlier quoted context omitted.

I'm afraid your maths doesn't add up, so you've missed their point: it can't be done. To average 30mph over 2 miles, you need to complete those 2 miles in 4 minutes. But travelling the first mile at 15mph means that took 4 minutes. So from that point the only way to do a second mile and bring your average to 30mph is to teleport it in 0 seconds. (Doing the second mile at 41mph would give you an average speed of just…

Of course. My math only "checks out" if you accept and account for the additional assumption I made there: that the datapoints provided in the question have been rounded or were low resolution from the get-go. The motivation behind this assumption is twofold: the numbers in the question are awfully whole (atypical for any practical problem), and that just the rote derivation of it all doesn't produce very interesting…

Considering the first mile would need to have been faster than 23mph for your 41mph to give an average of 30... your answer is either completely wrong, or is "if we pretend that the numbers are completely different to what they are then my answer is right", either way it just seems pointlessly wrong rather than pretty fun. But I guess good for you if you enjoyed working out that answer.

Re: Fully homomorphic encryption and the dawn of a private internet

#72
post #9

> FHE enables computation on encrypted data This is fascinating. Could someone ELI5 how computation can work using encrypted data? And does "computation" apply to ordinary internet transactions like when using a REST API, for example?

A very basic way of how it works: encryption is basically just a function e(m, k)=c. “m” is your plaintext and “c” is the encrypted data. We call it an encryption function if the output looks random to anyone that does not have the key If we could find some kind of function “e” that preserves the underlying structure even when the data is encrypted you have the outline of a homomorphic system. E.g. if the following h…

This made me wonder if there is such a thing as homomorphic compression. A cursory search says yes but seems like limited information.

Re: Fully homomorphic encryption and the dawn of a private internet

#73
post #71

Earlier quoted context omitted.

Of course. My math only "checks out" if you accept and account for the additional assumption I made there: that the datapoints provided in the question have been rounded or were low resolution from the get-go. The motivation behind this assumption is twofold: the numbers in the question are awfully whole (atypical for any practical problem), and that just the rote derivation of it all doesn't produce very interesting…

Considering the first mile would need to have been faster than 23mph for your 41mph to give an average of 30... your answer is either completely wrong, or is "if we pretend that the numbers are completely different to what they are then my answer is right", either way it just seems pointlessly wrong rather than pretty fun. But I guess good for you if you enjoyed working out that answer.

I can appreciate if someone doesn't (or if most people don't, even) see the fun in this, sure.

> Considering the first mile would need to have been faster than 23mph

That said, note that it's not just the up-leg's average speed that's been provided (15 mph), but also the distance as you say (1 mile). If you explore the error term for both of these, you'll see that it's not necessary to go at the ludicrously high speed of 23 mph after all. """15 mph""" (15.444... mph) will do just fine.

Re: Fully homomorphic encryption and the dawn of a private internet

#74
post #53
post #4

Earlier quoted context omitted.

Don't you think there is a market for people who want services that have provable privacy even if it costs 1,000 times more? It's not as big a segment as Dropbox but I imagine it's there.

If we are talking 1000x more latency, that is a pretty hard sell. Something that normally takes 30 seconds now takes over 8 hours.

Its like, python can be 400 times slower than C++, but people still use it.

Re: Fully homomorphic encryption and the dawn of a private internet

#75
post #3

I say this as a lover of FHE and the wonderful cryptography around it: While it’s true that FHE schemes continue to get faster, they don’t really have hope of being comparable to plaintext speeds as long as they rely on bootstrapping. For deep, fundamental reasons, bootstrapping isn’t likely to ever be less than ~1000x overhead. When folks realized they couldn’t speed up bootstrapping much more, they started talking…

Interesting! Can you provide some sources for this claim?

Re: Fully homomorphic encryption and the dawn of a private internet

#76
post #5

Earlier quoted context omitted.

??? For the equivalent of $500 in credit you could self host the entire thing!

You're not joking. If you're like most people and have only a few TiB of data in total, self hosting on a NAS or spare PC is very viable. There are even products for non-technical people to set this up (e.g. software bundled with a NAS). The main barrier is having an ISP with a sufficient level of service.

But if you have a lot of data, self hosting is still cheaper.

Its always gonna be cheaper because you don't have the cloud provider's profit margin, which can be quite high.

Re: Fully homomorphic encryption and the dawn of a private internet

#77
post #71

Earlier quoted context omitted.

Considering the first mile would need to have been faster than 23mph for your 41mph to give an average of 30... your answer is either completely wrong, or is "if we pretend that the numbers are completely different to what they are then my answer is right", either way it just seems pointlessly wrong rather than pretty fun. But I guess good for you if you enjoyed working out that answer.

I can appreciate if someone doesn't (or if most people don't, even) see the fun in this, sure. > Considering the first mile would need to have been faster than 23mph That said, note that it's not just the up-leg's average speed that's been provided (15 mph), but also the distance as you say (1 mile). If you explore the error term for both of these, you'll see that it's not necessary to go at the ludicrously high spee…

If you go as far as assuming the mile distance is wrong then the entire question is pointless, maybe they've already travelled more than two miles and they need to go backwards to average 30mph! At that point literally any number is just as correct as 41 is...

Re: Fully homomorphic encryption and the dawn of a private internet

#78
post #74
post #53

Earlier quoted context omitted.

If we are talking 1000x more latency, that is a pretty hard sell. Something that normally takes 30 seconds now takes over 8 hours.

Its like, python can be 400 times slower than C++, but people still use it.

Yeah, because people use python when it doesn't matter and c++ when it does (including implicitly by calling modules that are backed by c implementations).

That is not an option with FHE. You have to go all in.

Re: Fully homomorphic encryption and the dawn of a private internet

#79
post #72

Earlier quoted context omitted.

A very basic way of how it works: encryption is basically just a function e(m, k)=c. “m” is your plaintext and “c” is the encrypted data. We call it an encryption function if the output looks random to anyone that does not have the key If we could find some kind of function “e” that preserves the underlying structure even when the data is encrypted you have the outline of a homomorphic system. E.g. if the following h…

This made me wonder if there is such a thing as homomorphic compression. A cursory search says yes but seems like limited information.

What do you mean by homomorphic compression?

Given that the operations you can execute on the ciphertext are Turing complete (it suffices to show that we can do addition and multiplication) then it follows that any conceivable computation can be performed on the ciphertext.

Re: Fully homomorphic encryption and the dawn of a private internet

#80
post #51
post #5

Earlier quoted context omitted.

??? For the equivalent of $500 in credit you could self host the entire thing!

The statements made in the linked description of this cannot be true, such as Google not being able to read what you sent them and not being able to read what they responded with. Having privacy is a reasonable goal, but VPNs and SSL/TLS provide enough for most, and at some point your also just making yourself a target for someone with the power to undo your privacy and watch you more closely- why else would you go t…

> The statements made in the linked description of this cannot be true, such as Google not being able to read what you sent them and not being able to read what they responded with.

The beautiful thing is: they are :-)

Post reply on HN