refactor: Remove pkcs7padding function
This commit is contained in:
parent
a95a1e3a8d
commit
6d8238475c
@ -7,9 +7,3 @@ List<int> concat(List<List<int>> inputs) {
|
||||
|
||||
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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user