Checked digest and cipher.