Pseudorandom functions with new properties from hard lattice problems