generate RSA public key having public modulus and exponent i want to generate an RSA public public key file using openssl (or other tools) having public modulus and exponent, so i can use it later to encrypt files 

i have this:

the modulus: 

"BEB90F8AF5D8A7C7DA8CA74AC43E1EE8A48E6860C0D46A5D690BEA082E3A74E1"
+"571F2C58E94EE339862A49A811A31BB4A48F41B3BCDFD054C3443BB610B5418B"
+"3CBAFAE7936E1BE2AFD2E0DF865A6E59C2B8DF1E8D5702567D0A9650CB07A43D"
+"E39020969DF0997FCA587D9A8AE4627CF18477EC06765DF3AA8FB459DD4C9AF3"

the exponent: 0x10001


so how can i generate the public key from those, so i can use it to encrypt some data, or maybe there's a way to use these directly for encryption ?
i got this, it's not with openssl, but python

e = 0x10001
N = 0x1234214....

words = open("words.txt").read().split()

for w in words:
     ww = int(w.encode("hex"), 16)
     print pow(ww, e, N)