JustMappz Keygen Source
.NET / C#
DES+Base64
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Security.Cryptography;
namespace WindowsFormsApplication3
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private static byte[] key = new byte[]
{
7,
2,
3,
4,
1,
6,
7,
8
};
public static string CryptThis(string text)
{
SymmetricAlgorithm symmetricAlgorithm = DES.Create();
ICryptoTransform cryptoTransform = symmetricAlgorithm.CreateEncryptor(key, iv);
byte[] bytes = Encoding.Unicode.GetBytes(text);
byte[] inArray = cryptoTransform.TransformFinalBlock(bytes, 0, bytes.Length);
return Convert.ToBase64String(inArray);
}
public string randomStr()
{
Random random = new Random();
return random.Next(1, 9999999).ToString().PadLeft(5);
}
private void button1_Click(object sender, EventArgs e)
{
string p3, p4, p5, p6 ,fP;
p3 = randomStr() + "TSRhTEAM@KEYGENFACT.COM";
p4 = "TSRh TEAM " + randomStr();
p5 = "1234567812345678";
p6 = DateTime.Today.AddYears(99).ToShortDateString();
fP = p3 + p4 + p5 + p6.Substring(0, 10);
textBox1.Text = CryptThis(fP);
}
private void button2_Click(object sender, EventArgs e)
{
Clipboard.SetText(textBox1.Text);
}
}
}
eq