We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c9a140 commit 081e168Copy full SHA for 081e168
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "shadowsocks-crypto"
3
-version = "0.6.0"
+version = "0.6.1"
4
authors = ["luozijun <luozijun.assistant@gmail.com>", "ty <zonyitoo@gmail.com>"]
5
edition = "2021"
6
license = "MIT"
src/utils.rs
@@ -9,7 +9,7 @@ pub fn random_iv_or_salt(iv_or_salt: &mut [u8]) {
9
return;
10
}
11
12
- let mut rng = rand::thread_rng();
+ let mut rng = rand::rng();
13
loop {
14
rng.fill(iv_or_salt);
15
0 commit comments