diff --git a/Cargo.lock b/Cargo.lock
index df2ee9c..412db51 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -297,7 +297,7 @@ dependencies = [
[[package]]
name = "fhe-math"
-version = "0.1.0-beta.2"
+version = "0.1.0-beta.3"
dependencies = [
"criterion",
"crypto-bigint",
@@ -319,14 +319,14 @@ dependencies = [
[[package]]
name = "fhe-traits"
-version = "0.1.0-beta.2"
+version = "0.1.0-beta.3"
dependencies = [
"rand",
]
[[package]]
name = "fhe-util"
-version = "0.1.0-beta.2"
+version = "0.1.0-beta.3"
dependencies = [
"itertools",
"num-bigint-dig",
diff --git a/README.md b/README.md
index dc87c57..49a6f65 100644
--- a/README.md
+++ b/README.md
@@ -31,8 +31,8 @@ To install, add the following to your project's `Cargo.toml` file:
```toml
[dependencies]
-fhe = "0.1.0-beta.2"
-fhe-traits = "0.1.0-beta.1"
+fhe = "0.1.0-beta.3"
+fhe-traits = "0.1.0-beta.3"
```
## Minimum supported version / toolchain
diff --git a/crates/fhe-math/CHANGELOG.md b/crates/fhe-math/CHANGELOG.md
index 29dbe19..1920824 100644
--- a/crates/fhe-math/CHANGELOG.md
+++ b/crates/fhe-math/CHANGELOG.md
@@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+Fix a few bugs, remove the need of using nightly, and make some backward-incompatible changes by modifying the API to take as input the random number generator.
+
+### Commit Statistics
+
+
+
+ - 5 commits contributed to the release over the course of 3 calendar days.
+ - 4 days passed between releases.
+ - 0 commits were understood as [conventional](https://www.conventionalcommits.org).
+ - 4 unique issues were worked on: [#130](https://github.com/tlepoint/fhe.rs/issues/130), [#132](https://github.com/tlepoint/fhe.rs/issues/132), [#133](https://github.com/tlepoint/fhe.rs/issues/133), [#134](https://github.com/tlepoint/fhe.rs/issues/134)
+
+### Commit Details
+
+
+
+view details
+
+ * **[#130](https://github.com/tlepoint/fhe.rs/issues/130)**
+ - Remove some nightly features, see #117 ([`6361fa3`](https://github.com/tlepoint/fhe.rs/commit/6361fa3ce322b16551cfe4856a49e3933d85c872))
+ * **[#132](https://github.com/tlepoint/fhe.rs/issues/132)**
+ - Remove the nightly features, except for code coverage and formatting ([`b573138`](https://github.com/tlepoint/fhe.rs/commit/b573138d682e69c3553c2e4ae4a1b7f7a65dbe5d))
+ * **[#133](https://github.com/tlepoint/fhe.rs/issues/133)**
+ - Explicitely specify the RNG everytime randomness is involved. Fixes #128 ([`8aafe43`](https://github.com/tlepoint/fhe.rs/commit/8aafe4396d0b771e6aa25257c7daa61c109eb367))
+ * **[#134](https://github.com/tlepoint/fhe.rs/issues/134)**
+ - Remove unnecessary casting by defining more conversions ([`f7cddb3`](https://github.com/tlepoint/fhe.rs/commit/f7cddb358f2ce28483944f99e223c07ae41b0c1c))
+ * **Uncategorized**
+ - Bump all version to beta.3 ([`fc63e4e`](https://github.com/tlepoint/fhe.rs/commit/fc63e4ea6acbb3e9dda83a65cafdf63a081836f2))
+
+
## 0.1.0-beta.1 (2022-09-07)
Bump pre-release version to match that of `fhe`.
@@ -13,7 +44,7 @@ Bump pre-release version to match that of `fhe`.
- - 8 commits contributed to the release.
+ - 9 commits contributed to the release.
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
- 2 unique issues were worked on: [#120](https://github.com/tlepoint/fhe.rs/issues/120), [#121](https://github.com/tlepoint/fhe.rs/issues/121)
@@ -28,6 +59,7 @@ Bump pre-release version to match that of `fhe`.
* **[#121](https://github.com/tlepoint/fhe.rs/issues/121)**
- Remove features, remove utilities crate, bump versions ([`570943a`](https://github.com/tlepoint/fhe.rs/commit/570943ae1822888a2ccb27412619ab3355b3ea3a))
* **Uncategorized**
+ - Release fhe-math v0.1.0-beta.1 ([`1b35a2e`](https://github.com/tlepoint/fhe.rs/commit/1b35a2ebd5e2c4d3821e6c967684fdc6e0a77441))
- Add changelog entry for fhe-math ([`3abb768`](https://github.com/tlepoint/fhe.rs/commit/3abb768ecd236e854bc1c1baa28f2646fb81ecd6))
- Release fhe-traits v0.1.0-beta.0, fhe-util v0.1.0-beta.0, fhe-math v0.1.0-beta.0, fhe v0.1.0-beta.0 ([`e81e1c6`](https://github.com/tlepoint/fhe.rs/commit/e81e1c60769e63c52ad3885d16249161074ca293))
- Write changelog ([`ef65eb4`](https://github.com/tlepoint/fhe.rs/commit/ef65eb4b14fd52dfe3796d6c782127d38e551f69))
diff --git a/crates/fhe-math/Cargo.toml b/crates/fhe-math/Cargo.toml
index cdf2c17..9aff557 100644
--- a/crates/fhe-math/Cargo.toml
+++ b/crates/fhe-math/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "fhe-math"
description = "Mathematical utilities for the fhe.rs library"
-version = "0.1.0-beta.2"
+version = "0.1.0-beta.3"
edition = "2021"
license = "MIT"
repository = "https://github.com/tlepoint/fhe.rs"
@@ -10,8 +10,8 @@ repository = "https://github.com/tlepoint/fhe.rs"
bench = false # Disable default bench (we use criterion)
[dependencies]
-fhe-traits = { version = "^0.1.0-beta.2", path = "../fhe-traits" }
-fhe-util = { version = "^0.1.0-beta.2", path = "../fhe-util" }
+fhe-traits = { version = "^0.1.0-beta.3", path = "../fhe-traits" }
+fhe-util = { version = "^0.1.0-beta.3", path = "../fhe-util" }
crypto-bigint = "0.4.8"
itertools = "0.10.3"
diff --git a/crates/fhe-traits/CHANGELOG.md b/crates/fhe-traits/CHANGELOG.md
index 0bc9955..63bd019 100644
--- a/crates/fhe-traits/CHANGELOG.md
+++ b/crates/fhe-traits/CHANGELOG.md
@@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+Fix a few bugs, remove the need of using nightly, and make some backward-incompatible changes by modifying the API to take as input the random number generator.
+
+### Commit Statistics
+
+
+
+ - 2 commits contributed to the release over the course of 2 calendar days.
+ - 4 days passed between releases.
+ - 0 commits were understood as [conventional](https://www.conventionalcommits.org).
+ - 1 unique issue was worked on: [#133](https://github.com/tlepoint/fhe.rs/issues/133)
+
+### Commit Details
+
+
+
+view details
+
+ * **[#133](https://github.com/tlepoint/fhe.rs/issues/133)**
+ - Explicitely specify the RNG everytime randomness is involved. Fixes #128 ([`8aafe43`](https://github.com/tlepoint/fhe.rs/commit/8aafe4396d0b771e6aa25257c7daa61c109eb367))
+ * **Uncategorized**
+ - Bump all version to beta.3 ([`fc63e4e`](https://github.com/tlepoint/fhe.rs/commit/fc63e4ea6acbb3e9dda83a65cafdf63a081836f2))
+
+
## 0.1.0-beta.1 (2022-09-07)
Bump pre-release version to match that of `fhe`.
@@ -13,7 +38,7 @@ Bump pre-release version to match that of `fhe`.
- - 3 commits contributed to the release.
+ - 4 commits contributed to the release.
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
- 1 unique issue was worked on: [#121](https://github.com/tlepoint/fhe.rs/issues/121)
@@ -26,6 +51,7 @@ Bump pre-release version to match that of `fhe`.
* **[#121](https://github.com/tlepoint/fhe.rs/issues/121)**
- Remove features, remove utilities crate, bump versions ([`570943a`](https://github.com/tlepoint/fhe.rs/commit/570943ae1822888a2ccb27412619ab3355b3ea3a))
* **Uncategorized**
+ - Release fhe-traits v0.1.0-beta.1 ([`bd1094d`](https://github.com/tlepoint/fhe.rs/commit/bd1094d726dc76c777e5916731eec7128c3fb9c7))
- Add changelog entry ([`f32c4eb`](https://github.com/tlepoint/fhe.rs/commit/f32c4eba1f1f254d0162008919a0088282cc521e))
- Adjusting changelogs prior to release of fhe-traits v0.1.0-beta.1 ([`3f9506e`](https://github.com/tlepoint/fhe.rs/commit/3f9506ea81277db1fa4da6e3e501061ef6456e4c))
diff --git a/crates/fhe-traits/Cargo.toml b/crates/fhe-traits/Cargo.toml
index a44cb81..c02898e 100644
--- a/crates/fhe-traits/Cargo.toml
+++ b/crates/fhe-traits/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "fhe-traits"
description = "Traits for the fhe.rs library"
-version = "0.1.0-beta.2"
+version = "0.1.0-beta.3"
edition = "2021"
license = "MIT"
repository = "https://github.com/tlepoint/fhe.rs"
diff --git a/crates/fhe-util/CHANGELOG.md b/crates/fhe-util/CHANGELOG.md
index b7883cb..bc4849d 100644
--- a/crates/fhe-util/CHANGELOG.md
+++ b/crates/fhe-util/CHANGELOG.md
@@ -5,6 +5,35 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+Fix a few bugs, remove the need of using nightly, and make some backward-incompatible changes by modifying the API to take as input the random number generator.
+
+### Commit Statistics
+
+
+
+ - 4 commits contributed to the release over the course of 3 calendar days.
+ - 4 days passed between releases.
+ - 0 commits were understood as [conventional](https://www.conventionalcommits.org).
+ - 3 unique issues were worked on: [#130](https://github.com/tlepoint/fhe.rs/issues/130), [#132](https://github.com/tlepoint/fhe.rs/issues/132), [#133](https://github.com/tlepoint/fhe.rs/issues/133)
+
+### Commit Details
+
+
+
+view details
+
+ * **[#130](https://github.com/tlepoint/fhe.rs/issues/130)**
+ - Remove some nightly features, see #117 ([`6361fa3`](https://github.com/tlepoint/fhe.rs/commit/6361fa3ce322b16551cfe4856a49e3933d85c872))
+ * **[#132](https://github.com/tlepoint/fhe.rs/issues/132)**
+ - Remove the nightly features, except for code coverage and formatting ([`b573138`](https://github.com/tlepoint/fhe.rs/commit/b573138d682e69c3553c2e4ae4a1b7f7a65dbe5d))
+ * **[#133](https://github.com/tlepoint/fhe.rs/issues/133)**
+ - Explicitely specify the RNG everytime randomness is involved. Fixes #128 ([`8aafe43`](https://github.com/tlepoint/fhe.rs/commit/8aafe4396d0b771e6aa25257c7daa61c109eb367))
+ * **Uncategorized**
+ - Bump all version to beta.3 ([`fc63e4e`](https://github.com/tlepoint/fhe.rs/commit/fc63e4ea6acbb3e9dda83a65cafdf63a081836f2))
+
+
## 0.1.0-beta.1 (2022-09-07)
Bump pre-release version to match that of `fhe`.
@@ -13,7 +42,7 @@ Bump pre-release version to match that of `fhe`.
- - 2 commits contributed to the release.
+ - 3 commits contributed to the release.
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
- 1 unique issue was worked on: [#121](https://github.com/tlepoint/fhe.rs/issues/121)
@@ -26,6 +55,7 @@ Bump pre-release version to match that of `fhe`.
* **[#121](https://github.com/tlepoint/fhe.rs/issues/121)**
- Remove features, remove utilities crate, bump versions ([`570943a`](https://github.com/tlepoint/fhe.rs/commit/570943ae1822888a2ccb27412619ab3355b3ea3a))
* **Uncategorized**
+ - Release fhe-util v0.1.0-beta.1 ([`49d32b7`](https://github.com/tlepoint/fhe.rs/commit/49d32b737bf3e943aab7861c375e269cb7971740))
- Bump version fhe-util ([`136134c`](https://github.com/tlepoint/fhe.rs/commit/136134ccefb563780a34c356c2a646f18285630b))
diff --git a/crates/fhe-util/Cargo.toml b/crates/fhe-util/Cargo.toml
index f06a50e..110b92c 100644
--- a/crates/fhe-util/Cargo.toml
+++ b/crates/fhe-util/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "fhe-util"
description = "Utilities for the fhe.rs library"
-version = "0.1.0-beta.2"
+version = "0.1.0-beta.3"
edition = "2021"
license = "MIT"
repository = "https://github.com/tlepoint/fhe.rs"
diff --git a/crates/fhe/CHANGELOG.md b/crates/fhe/CHANGELOG.md
index 1713094..70da346 100644
--- a/crates/fhe/CHANGELOG.md
+++ b/crates/fhe/CHANGELOG.md
@@ -5,6 +5,47 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+Fix a few bugs, remove the need of using nightly, and make some backward-incompatible changes:
+- public key generation doesn't return a `Result` anymore
+- modify the API to take as input the random number generator.
+
+Additionally, we added more documentation.
+
+### Commit Statistics
+
+
+
+ - 8 commits contributed to the release over the course of 4 calendar days.
+ - 4 days passed between releases.
+ - 0 commits were understood as [conventional](https://www.conventionalcommits.org).
+ - 7 unique issues were worked on: [#123](https://github.com/tlepoint/fhe.rs/issues/123), [#127](https://github.com/tlepoint/fhe.rs/issues/127), [#130](https://github.com/tlepoint/fhe.rs/issues/130), [#132](https://github.com/tlepoint/fhe.rs/issues/132), [#133](https://github.com/tlepoint/fhe.rs/issues/133), [#134](https://github.com/tlepoint/fhe.rs/issues/134), [#135](https://github.com/tlepoint/fhe.rs/issues/135)
+
+### Commit Details
+
+
+
+view details
+
+ * **[#123](https://github.com/tlepoint/fhe.rs/issues/123)**
+ - RGSW mistakenly appeared to depend on a feature; fixes #122. ([`739d4ce`](https://github.com/tlepoint/fhe.rs/commit/739d4ced784ee4aea20c57f3e042361aab7d5517))
+ * **[#127](https://github.com/tlepoint/fhe.rs/issues/127)**
+ - Computes correctly the number of bits in the plaintext; fixes #126 ([`432586c`](https://github.com/tlepoint/fhe.rs/commit/432586cecf83a0808cf987882c472acbf1330a36))
+ * **[#130](https://github.com/tlepoint/fhe.rs/issues/130)**
+ - Remove some nightly features, see #117 ([`6361fa3`](https://github.com/tlepoint/fhe.rs/commit/6361fa3ce322b16551cfe4856a49e3933d85c872))
+ * **[#132](https://github.com/tlepoint/fhe.rs/issues/132)**
+ - Remove the nightly features, except for code coverage and formatting ([`b573138`](https://github.com/tlepoint/fhe.rs/commit/b573138d682e69c3553c2e4ae4a1b7f7a65dbe5d))
+ * **[#133](https://github.com/tlepoint/fhe.rs/issues/133)**
+ - Explicitely specify the RNG everytime randomness is involved. Fixes #128 ([`8aafe43`](https://github.com/tlepoint/fhe.rs/commit/8aafe4396d0b771e6aa25257c7daa61c109eb367))
+ * **[#134](https://github.com/tlepoint/fhe.rs/issues/134)**
+ - Remove unnecessary casting by defining more conversions ([`f7cddb3`](https://github.com/tlepoint/fhe.rs/commit/f7cddb358f2ce28483944f99e223c07ae41b0c1c))
+ * **[#135](https://github.com/tlepoint/fhe.rs/issues/135)**
+ - Starting better documentation ([`13a633c`](https://github.com/tlepoint/fhe.rs/commit/13a633c0f288d27da15548942a061540365aec10))
+ * **Uncategorized**
+ - Bump all version to beta.3 ([`fc63e4e`](https://github.com/tlepoint/fhe.rs/commit/fc63e4ea6acbb3e9dda83a65cafdf63a081836f2))
+
+
## 0.1.0-beta.2 (2022-09-07)
This release fixes a bug that did not allow to decrypt a modulo-switched ciphertext correctly.
@@ -13,7 +54,7 @@ This release fixes a bug that did not allow to decrypt a modulo-switched ciphert
- - 1 commit contributed to the release.
+ - 2 commits contributed to the release.
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
- 0 issues like '(#ID)' where seen in commit messages
@@ -24,6 +65,7 @@ This release fixes a bug that did not allow to decrypt a modulo-switched ciphert
view details
* **Uncategorized**
+ - Release fhe v0.1.0-beta.2 ([`d13c33c`](https://github.com/tlepoint/fhe.rs/commit/d13c33caf2850753ed9ef556c41cfaf73700ecd1))
- Remove forgotten cfg(not(feature ([`2e247f2`](https://github.com/tlepoint/fhe.rs/commit/2e247f235bbe632459259f6ca74a637a2f765187))
diff --git a/crates/fhe/Cargo.toml b/crates/fhe/Cargo.toml
index 0b0206f..ae5bc1b 100644
--- a/crates/fhe/Cargo.toml
+++ b/crates/fhe/Cargo.toml
@@ -11,9 +11,9 @@ homepage = "https://fhe.rs/"
bench = false # Disable default bench (we use criterion)
[dependencies]
-fhe-math = { version = "^0.1.0-beta.2", path = "../fhe-math" }
-fhe-traits = { version = "^0.1.0-beta.2", path = "../fhe-traits" }
-fhe-util = { version = "^0.1.0-beta.2", path = "../fhe-util" }
+fhe-math = { version = "^0.1.0-beta.3", path = "../fhe-math" }
+fhe-traits = { version = "^0.1.0-beta.3", path = "../fhe-traits" }
+fhe-util = { version = "^0.1.0-beta.3", path = "../fhe-util" }
itertools = "0.10.3"
num-bigint = "0.4.3"