MCPcopy Index your code
hub / github.com/0rlych1kk4/quantum_identity_system

github.com/0rlych1kk4/quantum_identity_system @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
7 symbols 9 edges 4 files 0 documented · 0% updated 16mo agov1.0.0 · 2025-03-06★ 38
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

README.md

Quantum-Protected Digital Identity System

Overview

A Rust-based quantum-resistant digital identity system using post-quantum cryptography (Dilithium and NTRU). This system provides secure identity generation and verification using a command-line tool and a WebAssembly module.

Features

  • Quantum-Resistant Cryptography: Uses Dilithium for digital signatures and NTRU for encryption.
  • Command-Line Interface (CLI): Generate and verify quantum-protected identities.
  • WebAssembly (WASM) Support: Enables integration with web applications.

Installation

Ensure you have Rust installed:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Clone the repository and navigate to the project:

git clone https://github.com/your-repo/quantum_identity_system.git
cd quantum_identity_system

Building and Running

Build the project

cargo build --release

Generate a Quantum Identity

cargo run --release --bin identity_cli -- --generate

Verify a Quantum Identity

cargo run --release --bin identity_cli -- --verify identity.json

WebAssembly (WASM) Usage

Compile the WASM module:

cd identity_wasm wasm-pack build --target web


Use in a JavaScript project:
```js
import init, { generate_identity, verify_identity } from "./pkg/identity_wasm.js";
async function main() {
    await init();
    let identity = generate_identity();
    console.log("Generated Identity:", identity);
    console.log("Verification:", verify_identity(identity));
}
main();

License

MIT

Core symbols most depended-on inside this repo

verify
called by 2
identity_core/src/lib.rs
main
called by 0
identity_cli/src/main.rs
main
called by 0
identity_core/src/main.rs
new
called by 0
identity_core/src/lib.rs
generate_identity
called by 0
identity_wasm/src/lib.rs
verify_identity
called by 0
identity_wasm/src/lib.rs

Shape

Function 4
Method 2
Class 1

Languages

Rust100%

Modules by API surface

identity_core/src/lib.rs3 symbols
identity_wasm/src/lib.rs2 symbols
identity_core/src/main.rs1 symbols
identity_cli/src/main.rs1 symbols

For agents

$ claude mcp add quantum_identity_system \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page