Password and salt's digest check