Computational Aspects of Class Group Actions And Applications to Post-Quantum Cryptography