TheAlgorithms / C-Sharp

All algorithms implemented in C#.
GNU General Public License v3.0
7.12k stars 1.52k forks source link

Add TBC Padding #413

Closed Kalkwst closed 1 year ago

Kalkwst commented 1 year ago

Add implementation of the Trailing-Bit-Complement padding. As always this class implements methods for adding, removing and validating the padding of a byte array.

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (d65c7d1) 95.94% compared to head (77c83b9) 95.96%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #413 +/- ## ========================================== + Coverage 95.94% 95.96% +0.02% ========================================== Files 224 225 +1 Lines 9338 9395 +57 ========================================== + Hits 8959 9016 +57 Misses 379 379 ``` | [Files](https://app.codecov.io/gh/TheAlgorithms/C-Sharp/pull/413?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms) | Coverage Δ | | |---|---|---| | [Algorithms/Crypto/Paddings/TbcPadding.cs](https://app.codecov.io/gh/TheAlgorithms/C-Sharp/pull/413?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms#diff-QWxnb3JpdGhtcy9DcnlwdG8vUGFkZGluZ3MvVGJjUGFkZGluZy5jcw==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.