refactor: Remove pkcs7padding function

This commit is contained in:
PapaTutuWawa 2022-08-03 16:38:04 +02:00
parent a95a1e3a8d
commit 6d8238475c

View File

@ -7,9 +7,3 @@ List<int> concat(List<List<int>> inputs) {
return tmp; return tmp;
} }
List<int> pkcs7padding(List<int> input, int size) {
final paddingLength = size - input.length % size;
final padding = List<int>.filled(paddingLength, 0x0);
return concat([input, padding]);
}