Improved Robustness and Versatility of Lattice-Based Cryptography