Encrypted string From Delphi to C#

后端 未结 4 748
猫巷女王i
猫巷女王i 2021-01-14 07:06

i am trying to decrypt one string in c# encrypted in Delphi with Cipher1 3.0, Part I from Delphi Encryption Compendium. I use TCipher_Rijndael.

string that i encr

4条回答
  •  借酒劲吻你
    2021-01-14 07:45

    You need to determine all of the details of how that value was encrypted:

    1. What block cipher mode of operation was used? ECB tends to be a default.
    2. What padding scheme was used? Perhaps no padding in your case.
    3. How was the key derived from the password? Perhaps with PBKDF2 or simply a MD5 hash.
    4. What was the initialization vector? Note that only some cipher modes require one.
    5. How was the output encoded? It appears to be Base64 encoding for you.

    Only once you know exactly how it was encrypted can you reverse the process to properly decrypt it. You might want to try posting more code or details about how it was encrypted. Then someone might be able to determine how you need to go about decrypting it. I've seen this scenario with unknowns before and I managed to guess the details to find the answer. I tried a few common ways with your encrypted string, but I can't easily decrypt it without more details.

提交回复
热议问题