Skip to main content

sealed_len

Function sealed_len 

Source
pub const fn sealed_len(plaintext_len: usize) -> usize
Expand description

PKCS#7 always pads (1..=BLOCK_LEN bytes), so a sealed token strictly outgrows its plaintext.