In collaboration with Gabrielle Lalou and Clémence Audibert.
.
│ Threshold re-encryption.pdf
│ secret-sharing.pdf
│ SUIVI.md
│
│
└───code
│ Cargo.lock
│ Cargo.toml
│
└───src
└───bin
│ EoD.rs
│ EoD_sys_initial.rs
│ from_file.rs
│ lwe_functions.rs
│ secret_sharing.rs
│
├───keys
│ cleAlice.txt
│ cleBob.txt
│ machine1
│ randomness
│ r_secret_share
│ skA_secret_share
│
Functional tests are available in the file test_system.rs on the test_feature branch. This file contains unit and integration tests to ensure the proper functioning of the various features of the re-encryption system.
To execute a specific file from the project, follow these steps:
-
Navigate to the
code_projet/src/bin/directory:cd code_projet/src/bin/ -
Run the desired file using Cargo:
cargo run --bin <filename>
Replace
<filename>with the name of the file you want to execute (e.g.,secret_sharing.rs).
To set up the Rust environment for this project, follow the steps below:
If you don't have Rust installed, you can install it using the official installation script:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shFollow the on-screen instructions to complete the installation. Once installed, add Cargo's bin directory to your PATH environment variable.
To verify the installation, run:
rustc --versionClone this repository to your local machine:
git clone https://github.com/Alexisdevpro/Threshold-re-encryption.git
cd Threshold-re-encryptionRun the following command to build the project:
cargo buildThis will compile the Rust code and generate necessary binaries in the target/ directory.
To ensure everything is working correctly, run the test suite using:
cargo testComing soon... Next feature
The test files are located in the test_feature branch. To run the tests, you need to switch to this branch first:
git checkout test_featureAnd check README.
- Bibliography: The
Bibliographie/directory contains research articles and other reference materials used for this project. - Project Reports: Project reports and initial research can be found in the root directory (
PROJ104_latex_24.06.pdf, etc.).