Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] do anyone have a idea?

[DiscordArchive] do anyone have a idea?

[DiscordArchive] do anyone have a idea?

rektbyfaith
Administrator
0
07-18-2022, 06:46 PM
#1
Archived author: Flying Phoenix • Posted: 2022-07-18T18:46:27.276000+00:00
Original source

do anyone have a idea?
rektbyfaith
07-18-2022, 06:46 PM #1

Archived author: Flying Phoenix • Posted: 2022-07-18T18:46:27.276000+00:00
Original source

do anyone have a idea?

rektbyfaith
Administrator
0
07-18-2022, 06:58 PM
#2
Archived author: Flying Phoenix • Posted: 2022-07-18T18:58:11.803000+00:00
Original source

``` using (SHA256 sha256Hash = SHA256.Create())
{
string Emailhash = GetHash(sha256Hash, email);
string Passwordhash = GetHash(sha256Hash, Emailhash+":"+password);
return Passwordhash.ToUpper();
}
}
private static string GetHash(HashAlgorithm hashAlgorithm, string input)
{
// Convert the input string to a byte array and compute the hash.
byte[] data = hashAlgorithm.ComputeHash(Encoding.UTF8.GetBytes(input));

// Create a new Stringbuilder to collect the bytes
// and create a string.
var sBuilder = new StringBuilder();

// Loop through each byte of the hashed data
// and format each one as a hexadecimal string.
for (int i = 0; i < data.Length; i++)
{
sBuilder.Append(data[i].ToString("x2").ToUpper());
}
// Return the hexadecimal string.
return sBuilder```
rektbyfaith
07-18-2022, 06:58 PM #2

Archived author: Flying Phoenix • Posted: 2022-07-18T18:58:11.803000+00:00
Original source

``` using (SHA256 sha256Hash = SHA256.Create())
{
string Emailhash = GetHash(sha256Hash, email);
string Passwordhash = GetHash(sha256Hash, Emailhash+":"+password);
return Passwordhash.ToUpper();
}
}
private static string GetHash(HashAlgorithm hashAlgorithm, string input)
{
// Convert the input string to a byte array and compute the hash.
byte[] data = hashAlgorithm.ComputeHash(Encoding.UTF8.GetBytes(input));

// Create a new Stringbuilder to collect the bytes
// and create a string.
var sBuilder = new StringBuilder();

// Loop through each byte of the hashed data
// and format each one as a hexadecimal string.
for (int i = 0; i < data.Length; i++)
{
sBuilder.Append(data[i].ToString("x2").ToUpper());
}
// Return the hexadecimal string.
return sBuilder```

rektbyfaith
Administrator
0
07-18-2022, 06:58 PM
#3
Archived author: Flying Phoenix • Posted: 2022-07-18T18:58:30.595000+00:00
Original source

thats what i have it now
rektbyfaith
07-18-2022, 06:58 PM #3

Archived author: Flying Phoenix • Posted: 2022-07-18T18:58:30.595000+00:00
Original source

thats what i have it now

rektbyfaith
Administrator
0
07-18-2022, 06:59 PM
#4
Archived author: Flying Phoenix • Posted: 2022-07-18T18:59:24.949000+00:00
Original source

and i get
``` ADE9F7DFD71F9A4419509B589BA5379CF45038AF9066FA5940C5007D91D07CAC```
but i need
``` 90CAAF25FAA4952E68BBB377C9A98CAB0D78AE77FA8D3BBF3A2239558B045CCD```
rektbyfaith
07-18-2022, 06:59 PM #4

Archived author: Flying Phoenix • Posted: 2022-07-18T18:59:24.949000+00:00
Original source

and i get
``` ADE9F7DFD71F9A4419509B589BA5379CF45038AF9066FA5940C5007D91D07CAC```
but i need
``` 90CAAF25FAA4952E68BBB377C9A98CAB0D78AE77FA8D3BBF3A2239558B045CCD```

rektbyfaith
Administrator
0
07-18-2022, 06:59 PM
#5
Archived author: Tea • Posted: 2022-07-18T18:59:51.912000+00:00
Original source

try reversing the byte array you get from ComputeHash
rektbyfaith
07-18-2022, 06:59 PM #5

Archived author: Tea • Posted: 2022-07-18T18:59:51.912000+00:00
Original source

try reversing the byte array you get from ComputeHash

rektbyfaith
Administrator
0
07-18-2022, 07:00 PM
#6
Archived author: Tea • Posted: 2022-07-18T19:00:02.364000+00:00
Original source

openssl does weird things
rektbyfaith
07-18-2022, 07:00 PM #6

Archived author: Tea • Posted: 2022-07-18T19:00:02.364000+00:00
Original source

openssl does weird things

rektbyfaith
Administrator
0
07-18-2022, 07:03 PM
#7
Archived author: Flying Phoenix • Posted: 2022-07-18T19:03:45.768000+00:00
Original source

to email and pass ?
rektbyfaith
07-18-2022, 07:03 PM #7

Archived author: Flying Phoenix • Posted: 2022-07-18T19:03:45.768000+00:00
Original source

to email and pass ?

rektbyfaith
Administrator
0
07-18-2022, 07:04 PM
#8
Archived author: Flying Phoenix • Posted: 2022-07-18T19:04:16.498000+00:00
Original source

like normal text again?
rektbyfaith
07-18-2022, 07:04 PM #8

Archived author: Flying Phoenix • Posted: 2022-07-18T19:04:16.498000+00:00
Original source

like normal text again?

rektbyfaith
Administrator
0
07-18-2022, 07:29 PM
#9
Archived author: Flying Phoenix • Posted: 2022-07-18T19:29:37.362000+00:00
Original source

<@200677690838220800> Its works now, tnx
rektbyfaith
07-18-2022, 07:29 PM #9

Archived author: Flying Phoenix • Posted: 2022-07-18T19:29:37.362000+00:00
Original source

<@200677690838220800> Its works now, tnx

Recently Browsing
 
Recently Browsing