1
0

feat: finish p18, implment aes ctr mode

This commit is contained in:
2025-08-24 22:28:40 +08:00
parent e400b87e9f
commit b2424c1fba
6 changed files with 165 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
use anyhow::{Result, anyhow};
#[allow(dead_code)]
fn pkcs7_unpadding(input: &[u8]) -> Result<Vec<u8>> {
if input.is_empty() {
return Err(anyhow!("Input cannot be empty"));