fix(encryption): Increment lastChunkNr when size is off
#55981
Merged
lastChunkNr when size is off
#55981