Update dependencies

This commit is contained in:
Ethan O'Brien
2025-05-01 12:14:17 -05:00
parent e27a020cfb
commit 1a736155e3
8 changed files with 598 additions and 376 deletions

View File

@@ -47,7 +47,7 @@ pub fn encrypt_packet(input: &str) -> Result<String, ErrorStack> {
}
fn generate_random_iv() -> Vec<u8> {
let mut rng = rand::thread_rng();
let mut rng = rand::rng();
let mut bytes = vec![0u8; IV_LENGTH];
rng.fill(&mut bytes[..]);
bytes