debug inv_cipher