Added code for block decrypt. untested.