Hello:

I'm trying to generate .rdp files on the fly. To do this I need to 
generate an user password.

I'm looking for a gem that can be used in a similar way that the next 
python code. Anyone knows about a gem implementing CryptProtectData 
"like" method?

I have been googling but I didn't find anything :(

import win32crypt
import binascii

pwdHash = win32crypt.CryptProtectData(u"MYPASSWORD",u'psw',None,None,None,0)
print binascii.hexlify(pwdHash)


Regards

Raul

-- 
-----------------------------------------------
Raul Sanchez Sanchez                 raul / um.es
Centro de Calculo
Facultad de Informatica    Tlf: +34 868 88 9281
Universidad de Murcia      Fax: +34 868 88 4151
-----------------------------------------------