An efficient lattice-based cryptographic hash function