Further modifications to decryption; Works for small buffers, but not full ones.