added hash checking sha-256