Algebraic cryptanalysis applied to equivalence problems