UMBRA Explores Encrypted Computing for Midnight

Kshot’s open source project has completed a CPU reference implementation. GPU acceleration and a Midnight contract connection remain future development work.

By SongMarketCap

Updated:

Midnight News - UMBRA Explores Encrypted Computing for Midnight

Independent developer Kshot has published UMBRA, an experimental project exploring how applications connected to Midnight could perform calculations on encrypted data.

The project is designed around fully homomorphic encryption, or FHE. Its stated goal is to support shared encrypted state, allowing calculations involving data from multiple participants without revealing the underlying values to the system performing the work.

The current release is a CPU reference implementation. Its repository explicitly warns that the code should not be used to protect real data.

What Encrypted Computing Could Allow

Encryption protects readable information by turning it into a form that cannot be understood without the appropriate key. In many conventional workflows, a system must decrypt information before processing it.

FHE is a different approach. It allows certain calculations to be performed while values remain encrypted. Whoever has the appropriate key can then decrypt the result.

For example, an application could receive encrypted numbers, perform a supported calculation and return an encrypted result without the computer carrying out the operation seeing the original numbers.

The UMBRA repository identifies sealed bid auctions, private order books and confidential AI inference as potential uses for shared encrypted computation. Those examples describe areas the project wants to explore. They do not establish that UMBRA already provides those applications.

A sealed bid auction illustrates the distinction. Participants could submit offers without displaying their amounts to other bidders, while an application processes information needed for the auction. The privacy and security of any such system would depend on its implementation, key management and disclosure rules.

Kshot’s earlier Midnight project, Moonshroud, addresses a different issue. Moonshroud is designed to review requests from decentralized applications before they reach a wallet. UMBRA focuses on computation over encrypted data.

The First Phase Runs on a CPU

UMBRA’s repository describes its first phase as a reference implementation written in Rust. It contains mathematical and cryptographic components intended to support further FHE development.

The listed functions include encryption and decryption using two lattice based constructions, together with homomorphic addition and multiplication by a scalar. The project also includes mathematical routines used by those operations.

The repository reports that 26 tests passed across the workspace. Its local demonstration encrypts two example bids, adds them and decrypts the result.

Those tests concern the components currently present in the repository. They do not establish that the broader system is ready for production, that every planned FHE operation works or that a third party has audited the code.

Several capabilities remain absent. The repository lists multiplication between two encrypted values and programmable bootstrapping as future work. It also describes distributed keys and threshold decryption as design topics rather than completed features.

Threshold decryption would distribute control over decryption among participants. UMBRA’s current status does not establish a working implementation of that mechanism.

GPU Acceleration Is a Later Step

UMBRA’s longer term design includes CUDA acceleration, which would use compatible graphics hardware for computationally demanding tasks.

The repository distinguishes that goal from the available code. Its CUDA component is currently a placeholder that delegates work to the CPU. The project does not claim a GPU speedup for the current implementation.

The second development phase covers CUDA components and benchmarking. The repository names an RTX 3090 system in its hardware plan and describes work to evaluate existing FHE tools and prototype a component for GPU execution.

No completed UMBRA GPU performance result is presented in the current status table. The existence of a graphics card in the development plan therefore does not mean the reference implementation is already accelerated by that hardware.

Later work described in the roadmap includes broader support for cryptographic configurations and components intended for production environments. The project does not provide a public completion date for those phases.

[NEWSBREAK]

Midnight Integration Is Planned

UMBRA’s proposed connection to Midnight is scheduled for a subsequent development phase.

The repository describes plans for a bridge involving Compact, Midnight’s smart contract language, and an encrypted tally demonstration based on Silent Gavel, a sealed bid auction project.

For now, the repository contains placeholder bridge types. It does not contain a completed Midnight Compact contract for UMBRA, and its status table does not claim an onchain integration.

Developers can inspect and test the reference code locally, but the repository does not establish that UMBRA is processing encrypted workloads for a live Midnight application.

The project is published under the MIT license. Its development files include a roadmap and a technical critique covering unresolved questions about performance, distributed security and how execution would be verified.

The Prototype Is Not for Real Data

UMBRA’s README makes no security claim for the current implementation. It identifies reference parameters, a deterministic generator that is not cryptographically secure and a sampler whose execution is not constant time.

Those are limitations of the present prototype. The repository explicitly tells users not to rely on it to protect real data.

Kshot has also worked on Moonshroud, which he reported testing on Midnight Preview. A test of that separate wallet application does not establish that UMBRA has been deployed or tested on the same network.

For UMBRA, the completed work described in the repository is the CPU reference phase. The next listed phase covers GPU development and measurement, while the Midnight bridge remains a later milestone.