feat: finish p18, implment aes ctr mode
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user