You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -65,20 +65,21 @@ which is re-exported by the crate behind the `custom_rand` feature.
65
65
66
66
## Benchmarks
67
67
68
-
Benchmarks were made using a Ryzen 7 7800x3D on Windows 11 by averaging on 10 000 `u32`s using `cargo bench`.
68
+
Benchmarks were made using a Ryzen 7 7800x3D on `u32`s using `cargo bench`.
69
69
70
70
Parameters used for this benchmark were :
71
71
- `d` = 128
72
72
- `dp` = 128
73
73
- `delta` = 1
74
74
- `tau` = 128
75
75
76
-
| Operation |Average time|
76
+
| Operation | Average time|
77
77
|:-----------------:|:----------------:|
78
-
| Encryption | 74.9 µs |
79
-
| Decryption | 13.2 µs |
80
-
| Add | 1.16 ms |
81
-
| Dec. after add | 1.04 ms |
78
+
| Encryption | 76.0 µs |
79
+
| Decryption | 12.5 µs |
80
+
| Add | 1.11 ms |
81
+
| Dec. after add | 1.03 ms |
82
+
| Mul |Uncomfortably long|
82
83
83
84
It is still more efficient to decrypt, operate and then re-encrypt the data. This limits the use of the system to applications where security is paramount, and takes precedence over speed.
0 commit comments