More work on decryption; still not finished yet