Implement unpad for PKCS#7 padding.
Chaos Ci / test (push) Successful in 3m3s
Chaos Ci / benchmark (push) Successful in 1m55s

This commit is contained in:
hashlag
2026-07-20 02:20:54 +03:00
parent 26f5aa150c
commit e6c4f1fc98
3 changed files with 325 additions and 0 deletions
+6
View File
@@ -14,6 +14,12 @@ public:
Impl().Pad(begin, end);
}
template<typename InputIt>
auto ComputeUnpad(InputIt begin, InputIt end) const noexcept
{
return Impl().ComputeUnpad(begin, end);
}
protected:
Padder() = default;