Encrypting and decrypting works properly.