Trilinear Form Equivalence Problems: From Algorithm and Complexity to Post-Quantum Cryptography