Dirk Schmitz send me his Python version of encrypting the RDP Password:


Read the original article here: http://www.remkoweijnen.nl/blog/2007/10/18/how-rdp-passwords-are-encrypted/