Added parallel decryption and encryption.