- Add Cargo.toml with TFHE, CSV, and Serde dependencies - Add .gitignore for Rust target directory - Include Iris dataset for machine learning experiments - Add plain KNN implementation binary - Update LICENSE to MIT and improve README 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
363 B
363 B
hfe_knn
全同态加密下的KNN算法实现
knn算法关键是使用一个距离函数来计算样本之间的距离,常用的距离函数有欧氏距离、曼哈顿距离等。 计算距离可以在全密文下实现。 主要是寻找一个全同态加密的比较大小方案
全同态加密计划使用TFHE-rs, 交互api使用axum实现的restful api