home.social

#homomorphicencryption — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #homomorphicencryption, aggregated by home.social.

fetched live
  1. NCSC Guidance on “Advanced Cryptography”

    The UK’s National Cyber Security Centre just released its white paper on “Advanced Cryptography,” which it defines as “cryptographic techniques for proc... schneier.com/blog/archives/202

    #homomorphicencryption #Uncategorized #cryptography #reports

  2. Exciting developments in the world of Homomorphic Encryption! 🌐 This groundbreaking technology allows for secure computation on encrypted data, paving the way for enhanced capabilities in various sectors. The HomomorphicEncryption.org consortium is leading the charge in standardizing these innovations. Join their efforts and stay updated! 💡 #HomomorphicEncryption #DataSecurity #FHE #EncryptionRevolution #newz

    homomorphicencryption.org/

  3. I just learned of homomorphic encryption and this tech sounds pretty cool. It seems pretty useful as it allows data to be used while never decrypting it. I need to read up more to find out how this all works.

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

    #HomomorphicEncryption #encryption #infosec

  4. #homomorphicEncryption sounds like such a stoner-dream

    listen, man, data is just numbers, right? and doing things to data with functions is just numbers in and out, right?

    and encryption is just a function on a number, RIGHT? take a number and make another number thats the same data, but like, contained.

    so - what if, what if, what IF?

    WHAT if you could just ... use the encred .. enrypt .. the number thass contained and juss like .. use that as the input to the function?

    you'd get junk out, right? or WOULD YOU? like, could you get out a number that you could, like, decrypt to get the right thing?

    that - that would be - like, cool

  5. The talk on #HomomorphicEncryption was very interesting. I'm enjoying digging into the algorithms and the Jupyter notebooks the speakers shared. Are there any implementations of practical applications that anybody could share?

    (This seems like the kind of thing @nickm would know!)

    #FOSSY #cryptology #cryptography

  6. Homomorphic encryption is the idea to arrange computation in such a way that, if fed encrypted input data, it will produce an encrypted result, and even if an attacker observes every bit manipulation the machine does, they will not be able to gain any information about the unencrypted input or result data.

    Ideally, we would simply write a program, which a compiler would transform into homomorphically encrypted code for us. To date, there is no practical scheme for doing this, and there are reasons to believe that there may never be a way to do this in general. But there are some subtle details. Let me explain.

    There is a somewhat simple scheme for homomorphic encryption which works, but there is a catch. First you need to blow up the input data exponentially, so that enough variants are produced, and the attacker is confronted with the problem that he cannot tell which of these are real data and which are just garbage.

    But that's not enough! When running the program, the machine will also need to compute every possible conditional branch! Whenever there's an `if` in our program, the required computational effort doubles!

    This cost explosion makes it completely impractical for almost all forms of data processing, like for example database applications, or even most patterns of communication, let aside any computationally more intensive workloads or, well, basically anything we use computers for today!

    However, it may be feasible, perhaps, even if just barely so, for some cryptographical applications operating on tiny chunks of data. You'd still have to pay a hefty price for the blow-up, but it could be done. I mean, I fail to come up with ideas here, but maybe someone among you is able to imagine a scenario where this could be useful today, of course, given the limitations I mentioned.

    So, it's pretty much theory, interesting as a subject for research, but not very useful. So what is cutting edge today? Here is a cool blog post by **Jeremy Kun** about the latest FHE compiler from google labs (of course, FHE means full homomorphic encryption):

    jeremykun.com/2023/02/13/googl

    They implemented a compiler which takes a subset of C++ and generates logic gates. As to be expected, the subset of C++ is severly limited, here's how Jeremy puts it:

    > A few limitations result from this circuit-based approach, which will be woven throughout the rest of this tutorial. First is that all loops must be fully unrolled and have statically-known bounds. Second, constructs like pointers, and dynamic memory allocation are not supported. Third, all control flow is multiplexed, meaning that all branches of all if statements are evaluated, and only then is one chosen. Finally, there are important practical considerations related to the bit-width of the types used and the expansion of cleartexts into ciphertexts that impact the performance of the resulting program.

    Typically we'd expect a general purpose language to be _Turing complete, at least in theory. Some languages don't quite achieve that kind of generality and are only _primitive recursive_. SQL is such an example, it does not have unbounded while loops with which one could search for an object satisfying any given mathematical constraint. The Ackermann function is an example which is not primitive recursive.

    The latter sounds a bit like what Jeremy describes, but his fragment of C++ is much more restrictive: We have to bound the number of operations by a constant before even looking at the data! A primitive recursive program may escalate its computation time quite considerably based on its input.

    Okay, that's all theory, in practice, every program running on a physical machine is bounded, because it only has a limited amount of memory, and because we, its operators, won't have arbitrary amounts of patience before aborting what is obviously a crashed program. In fact, our limits on what we see as feasible are so tight, that the afforementioned exponential blow up still makes FHE wholly unattractive.

    But wait, why does this research compiler produce logic gates instead of assembly code?

    Well, that's the cool thing about this research. Assembly could be used, but logic gates have an essential advantage: There are well-known and rather effective optimization techniques for logic gates! And the speedup gained in this context really is impressive. The article doesn't go into too much detail, but if you search for optimizers for logic circuits you should find lots of fun literature about this stuff!

    Still, by far not sufficient to make any of this practical, but interesting nonetheless!

    #homomorphicEncryption #FHE

Share on Mastodon

Enter the server where you have an account.