fixed autoPadding when decrypting. calling final() would throw if the document wasn't auto-padded