From ca282369a934ef1ba67ee7fe0c67171655d9ab58 Mon Sep 17 00:00:00 2001 From: sheagrief <3a.mad1earth4@gmail.com> Date: Tue, 26 Sep 2023 21:36:52 +0900 Subject: [PATCH] :pencil2: Fix abbreviation typos --- src/preprocessing.rs | 2 +- src/she.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/preprocessing.rs b/src/preprocessing.rs index 697d7f8d..650ad4f9 100644 --- a/src/preprocessing.rs +++ b/src/preprocessing.rs @@ -19,7 +19,7 @@ pub mod zkpopk { use rand::{thread_rng, Rng}; use rand_distr::uniform::UniformSampler; - /// Parameters for ZKPoPK (Zero-Knowledge Proof of Partial Knowledge). + /// Parameters for ZKPoPK (Zero-Knowledge Proof of Plaintext Knowledge). /// /// This struct holds various parameters used in the context of ZKPoPK. /// diff --git a/src/she.rs b/src/she.rs index dd1b80b9..c2c12a6e 100644 --- a/src/she.rs +++ b/src/she.rs @@ -21,9 +21,9 @@ pub use plaintext::{Plaintext, Plaintextish, Plaintexts}; use rand::Rng; use rand_distr::{Distribution, Normal}; -/// Parameters for a Secure Homomorphic Encryption Scheme (SHE). +/// Parameters for a Somewhat Homomorphic Encryption Scheme (SHE). /// -/// This struct holds various parameters used in the context of a Secure Homomorphic Encryption Scheme. +/// This struct holds various parameters used in the context of a Somewhat Homomorphic Encryption Scheme. /// /// - `s`: The length of the Plaintext. /// - `n`: The degree of the polynomial (length of Encodedtext), which should match the length of the plaintext.