Uniform encodings to elliptic curves over finite fields