I am writing a web application in ASP.Net that creates a license key for a Windows application written in Delphi. For simplicity, I am going to use the email address and date.
I want to encrypt it in C # and send this information to a person, and then when the Windows application starts up, the person enters the encrypted string.
Each time a Windows application starts, it checks this license, decrypts it and compares it with the current date.
How can I do this to provide C # encryption in Delphi?
" , , "
: " , ", , : ? ? ? , , , . , ( , AES, 3DES, XDES ), , . , - , , ( , , ..). , . , .
S-MIME - . PGP . # Delphi , . . .
AES Delphi AES #.
RSA DSA, , . # , . Delphi . . Delphi.
, Delphi, :
โโ , /, DSA, LockBox #.
, , , # , LockBox/Windows CryptoAPI . , , , , Delphi . crypto.
: , AES/3DES/ .. , "" . , - EXE, " " - , , "" . , . EXE - .
Use the same encryption / decryption algorithm in both delphi and C #.
You can find the code for the encryption algorithm for C # and then convert the code to the decryption algorithm in Delphi. Probably, if you choose the popular encryption, you can find encryption and decryption algorithms in different languages.