PICHU.
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 Login
{
public partial class Login_Form : Form
{
public Login_Form()
{
InitializeComponent();
}
public MD5CryptoServiceProvider MD5 = new MD5CryptoServiceProvider();
public SHA1CryptoServiceProvider SHA1 = new SHA1CryptoServiceProvider();
public UTF8Encoding UTF8 = new UTF8Encoding();
string username, password, checkUsername, checkPassword;
private void Form1_Load(object sender, EventArgs e)
{
username = "F6605D694232FD462CC4147124DED870";
password = "A3B88082583ECCB947A2A77789589F26";
}
private void button1_Click(object sender, EventArgs e)
{
checkUsername = (BitConverter.ToString(MD5.ComputeHash(SHA1.ComputeHash((UTF8.GetBytes(textBox1.Text)))))).Replace("-", "");
checkPassword = (BitConverter.ToString(MD5.ComputeHash(SHA1.ComputeHash(UTF8.GetBytes(textBox2.Text))))).Replace("-", "");
if (username == checkUsername && password == checkPassword)
MessageBox.Show("Login Successful!", "Success!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
else
MessageBox.Show("Incorrect Username or Password", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.