Remix.run Logo
▲ gavinray 2 hours ago

Isn't this the use case that Homomorphic Encryption was practically designed for?

https://en.wikipedia.org/wiki/Homomorphic_encryption

  > ... a form of encryption that allows computations to be performed on encrypted data without first having to decrypt it. The result of the computations are left in an encrypted form which, when decrypted, result in an output that is identical to that of the operations performed on the unencrypted data.
▲teraflop an hour ago | parent [-]

Well, yes, in theory. But the problem is that fully homomorphic encryption (currently) has extremely high overhead. It typically doesn't make sense to outsource a computation to somebody else if doing so is going to be 100x slower than you could perform it yourself.

This service instead uses hardware-level trusted execution. Basically that means step 1 is that the CPU/GPU performs the computation "natively", i.e. with full visibility of the plaintext, with only a small amount of overhead. Step 2 is that the hardware encrypts the output so only the intended recipient can read it. And the chip designed pinky promises that they've disabled every possible means of introspection and debugging, so that the hardware owner can't see what's happening between steps 1 and 2.