From b646a47bf507d8ec09d082fafe7aeffa32873beb Mon Sep 17 00:00:00 2001 From: 0xprincedev Date: Wed, 5 Nov 2025 21:05:13 -0500 Subject: [PATCH] fixed typo issue --- src/ciphers/base64.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ciphers/base64.rs b/src/ciphers/base64.rs index 81d4ac5dd6a..90aca832cfe 100644 --- a/src/ciphers/base64.rs +++ b/src/ciphers/base64.rs @@ -69,7 +69,7 @@ pub fn base64_decode(data: &str) -> Result, (&str, u8)> { 'decodeloop: loop { while collected_bits < 8 { if let Some(nextbyte) = databytes.next() { - // Finds the first occurence of the latest byte + // Finds the first occurrence of the latest byte if let Some(idx) = CHARSET.iter().position(|&x| x == nextbyte) { byte_buffer |= ((idx & 0b00111111) as u16) << (10 - collected_bits); collected_bits += 6;