I'm a little confused. I should tell more about the purpose.
I want to create an .RDP file programmatically, with this file it's possible to start a Remote Desktop (Terminal) session.
An RDP file contains an encrypted password which is encrypted with the
CryptProtectData API (this part I got working).
However it also seems to be Base64 encoded, I found this here:
http://bbs.vbstreets.ru/viewtopic.ph...2838b771a1fc69 (translated:
http://www.google.com/translate?u=ht...&hl=en&ie=UTF8)
and here:
http://www.anappaday.com/downloads/2...p-manager.html
Edit: I forgot to mention: the resulting hashed password is a fixed size (always 1329) hex bytes like this:
password 51:b:01000000D08C9DDF0115D1118C7A00C04FC297EB01000 00062BB0C5189FAB446A21158EC44C474F5 (removed the rest).