Fixed unsupported hash type sha-256 error.