diff --git a/Cargo.toml b/Cargo.toml
index 557ea12ce9eb812af03370a9603b5f8d1669c8d8..567e068c20191c6e93b0a9eca9db0dd4e947c9c6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -22,7 +22,7 @@ edition = "2018"
 algebra = { git = "https://github.com/scipr-lab/zexe/", features = [ "parallel" ] }
 ff-fft = { git = "https://github.com/scipr-lab/zexe/" }
 bench-utils = { git = "https://github.com/scipr-lab/zexe/" }
-rand = { version = "0.4" }
+rand = { version = "0.7" }
 rayon = { version = "1" }
 derivative = { version = "1" }