# FHE Scheme

## Mind Network's Research Results:

* Peer-reviewed publication: [A Security Analysis of a Deterministic Key Generation Scheme](https://ieeexplore.ieee.org/abstract/document/10679483)
* Ethereum Research: <https://ethresear.ch/t/an-rsa-deterministic-key-generation-scheme-algorithm-and-security-analysis/19745>
* A true onchain randgen number generator by FHE: [Rust SDK](https://github.com/mind-network/mind-sdk-randgen-rust), [TypeScript SDK](https://github.com/mind-network/mind-sdk-randgen-ts), [Python SDK](https://github.com/mind-network/mind-sdk-randgen-py)

## Mind Network's Research Details:

A deterministic key generation scheme is an encryption method that derives a secret key using a fixed seed and algorithm, ensuring consistent production of the same secret key for identical inputs. This approach streamlines key management by eliminating the need for separate key storage and enables straightforward backup and recovery through the use of a seed or master key. Nevertheless, it introduces security risks, particularly if the key is compromised. Therefore, safeguarding the initial seed or master key is paramount for upholding the security of the entire key hierarchy. In this paper, we rigorously describe a novel method for generating deterministic RSA keys from ECDSA signatures employing a Pseudo-Random NumberGenerator (PRNG). Subsequently, we conduct a comprehensive security analysis of this approach, demonstrating the security and collision resistance of the RSA keys generated.

The algorithm are listed in 3 steps.

<figure><img src="/files/8r931R7x40GDES4gAjAA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/jtG53Uofr9Y2KuaFyGJF" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/TNq3A3GsEpD8L4rHGJMN" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mindnetwork.xyz/minddocs/research/fhe-research/fhe-scheme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
