Created
January 22, 2024 21:33
-
-
Save clod81/4d7dc025e27e2d583112b0e00c69ca66 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace Decrypt1 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
String encrypted = "AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAHnJUJMzxl0SsX3UmD125BgAAAAACAAAAAAADZgAAwAAAABAAAADFExkhEfZC4H/ihdggYnqdAAAAAASAAACgAAAAEAAAAOicOrdGTwNyMWmK9nGn9GAoAAAAxRrplRayrHN3DBES8AeBk3N4XxOWqwimENqsUZYVKjO9GEOcWRdj6hQAAAA36KX8GeZaKkgMKCcFOLVuZGkENA=="; | |
byte[] encryptedText = Convert.FromBase64String(encrypted); | |
byte[] originalText = ProtectedData.Unprotect(encryptedText, { 1, 2, 3, 4, 5, 6}, DataProtectionScope.CurrentUser); | |
Console.WriteLine("{0}", Encoding.Unicode.GetString(originalText)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment