From 02054991b0a1931da1df8fe833011e10e0b8fad6 Mon Sep 17 00:00:00 2001 From: BloxerHD018 Date: Tue, 26 May 2026 14:41:08 +0100 Subject: [PATCH] Fix Changes in rand 0.10 --- src/crypto/wiiu.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/wiiu.rs b/src/crypto/wiiu.rs index 242ca6e..78899ed 100644 --- a/src/crypto/wiiu.rs +++ b/src/crypto/wiiu.rs @@ -3,7 +3,7 @@ use ctr::cipher::{KeyIvInit, StreamCipher}; use hmac::{Hmac, Mac}; use sha2::Sha256; use md5::{Md5, Digest}; -use rand::RngCore; +use rand::Rng; use anyhow::{Result, bail}; type HmacSha256 = Hmac; @@ -84,7 +84,7 @@ pub fn encrypt_wiiu(content: &[u8], aes_key: &[u8], hmac_key: &[u8]) -> Result