Computes length of padding.
Returns -1 if padding is invalid.
int getBlockPadding(int blockLength, Uint8List bytes);