Calculating digest AFTER null check on salt.