From 6d8238475c805af8a86af02250504520d1ec28d9 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Wed, 3 Aug 2022 16:38:04 +0200 Subject: [PATCH] refactor: Remove pkcs7padding function --- lib/src/helpers.dart | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/src/helpers.dart b/lib/src/helpers.dart index 0000e67..b554313 100644 --- a/lib/src/helpers.dart +++ b/lib/src/helpers.dart @@ -7,9 +7,3 @@ List concat(List> inputs) { return tmp; } - -List pkcs7padding(List input, int size) { - final paddingLength = size - input.length % size; - final padding = List.filled(paddingLength, 0x0); - return concat([input, padding]); -}