Change hint key algorithm