chore(tfhe): bump version to 0.1.12

This commit is contained in:
Arthur Meyre
2023-03-17 16:39:39 +01:00
parent 343e0f1613
commit 75d7865b77
3 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "tfhe"
version = "0.1.11"
version = "0.1.12"
edition = "2021"
readme = "../README.md"
keywords = ["fully", "homomorphic", "encryption", "fhe", "cryptography"]

View File

@@ -9,7 +9,7 @@ Welcome to this tutorial about TFHE-rs `core_crypto` module!
To use `TFHE-rs`, first it has to be added as a dependency in the `Cargo.toml`:
```toml
tfhe = { version = "0.1.11", features = [ "x86_64-unix" ] }
tfhe = { version = "0.1.12", features = [ "x86_64-unix" ] }
```
Here, this enables the `x86_64-unix` feature to have efficient implementations of various algorithms for `x86_64` CPUs on a Unix-like system. The 'unix' suffix indicates that the `UnixSeeder`, which uses `/dev/random` to generate random numbers, is actived as a fallback if no hardware number generator is available, like `rdseed` on `x86_64` or if the [`Randomization Services`](https://developer.apple.com/documentation/security/1399291-secrandomcopybytes?language=objc) on Apple platforms are not available. To avoid having the `UnixSeeder` as a potential fallback or to run on non-Unix systems (e.g., Windows), the `x86_64` feature is sufficient.
@@ -20,19 +20,19 @@ In short:
For x86_64-based machines running Unix-like OSes:
```toml
tfhe = { version = "0.1.11", features = ["x86_64-unix"] }
tfhe = { version = "0.1.12", features = ["x86_64-unix"] }
```
For Apple Silicon or aarch64-based machines running Unix-like OSes:
```toml
tfhe = { version = "0.1.11", features = ["aarch64-unix"] }
tfhe = { version = "0.1.12", features = ["aarch64-unix"] }
```
For x86_64-based machines with the [`rdseed instruction`](https://en.wikipedia.org/wiki/RDRAND) running Windows:
```toml
tfhe = { version = "0.1.11", features = ["x86_64"] }
tfhe = { version = "0.1.12", features = ["x86_64"] }
```
### Commented code to double a 2 bits message in a leveled fashion and using a PBS with the `core_crypto` module.

View File

@@ -5,7 +5,7 @@
To use `TFHE-rs` in your project, you first need to add it as a dependency in your `Cargo.toml`:
```toml
tfhe = { version = "0.1.11", features = [ "boolean", "shortint", "x86_64-unix" ] }
tfhe = { version = "0.1.12", features = [ "boolean", "shortint", "x86_64-unix" ] }
```
## Choosing your features