Thema: Delphi Base64 encoding

Einzelnen Beitrag anzeigen

Benutzerbild von Remko
Remko

Registriert seit: 10. Okt 2006
Ort: 's-Hertogenbosch, Die Niederlande
222 Beiträge
 
RAD-Studio 2010 Arc
 
#6

Re: Base64 encoding

  Alt 19. Mär 2007, 16:18
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 MSDN-Library durchsuchenCryptProtectData 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).
  Mit Zitat antworten Zitat