伟德国际_伟德国际1946$娱乐app游戏

图片

Snapshot: Fully homomorphic encryption with Julia

In today’s world, data security and privacy are critical, especially when sensitive information is processed on potentially insecure systems, such as in cloud computing. Fully Homomorphic Encryption (FHE) offers a promising solution by enabling secure computations on encrypted data without the need for decryption.

Over the past year, Arseniy and Michael of the HPSC Lab have brought to life the idea of performing secure numerical simulations using the Julia programming language. Building upon the efficient C++ implementation of the Cheon-Kim-Kim-Song (CKKS) scheme for real-number arithmetic in the OpenFHE library, we have created the [OpenFHE.jl](https://github.com/hpsc-lab/OpenFHE.jl) package, which allows the functionalities of OpenFHE to be used from within Julia.

Our research group has also introduced the SecureArithmetic.jl?package, which provides a user-friendly interface for cryptographically secure arithmetic operations. This package includes a backend for OpenFHE-secured computations using OpenFHE.jl, as well as an unencrypted backend for fast verification of computation pipelines. Additionally, SecureArithmetic.jl has expanded the functionality of OpenFHE.jl's vector-based arithmetic operations to support some matrix-based computations.

The OpenFHE.jl and SecureArithmetic.jl packages were also the focus of our talk, Secure numerical computations using fully homomorphic encryption, at JuliaCon 2024 (a YouTube recording of the talk can be found here). As part of the experimental segment of this talk, we implemented secure versions of well-known finite difference schemes for the linear advection equation, utilizing OpenFHE.jl and SecureArithmetic.jl. The figure below illustrates the results of the 2D linear advection secure simulations at the final time step, with periodic boundary conditions and a sine wave as the initial condition.

Secure numerical simulation of the 2D linear advection equation using finite difference schemes

Using p4est meshes for our simulations we implemented flexible multiphysics coupling across interface boundaries in Trixi.jl. Unlike structured meshes, p4est meshes can be much more flexible. They do not require to be rectangular or even simply connected. As a test case we show here two meshes. One writes the word "Trixi.jl" and the other is its complement. We couple an MHD system with an Euler system and initialize the domain with a linear pressure wave that travels to the left.
mhd_euler_t0
Coupled Euler-Mhd system using two p4est meshes. Shown is the gas density at time t = 0. ? 伟德国际_伟德国际1946$娱乐app游戏 of Augsburg
mhd_euler_t34
Coupled Euler-Mhd system using two p4est meshes. Shown is the gas density at time t = 34. ? 伟德国际_伟德国际1946$娱乐app游戏 of Augsburg

Search