False login problem
#3

Lyrhash?
It's like Whirpool


PHP код:
stock lyrhash(what[])
{
    new 
newstr[129];
    new 
out[129];
    new 
deflen strlen(what);
    new 
newlen deflen;
    new 
changeval[3] = {0, -11};
    
format(newstr129"%c%s"1what);
    while(
newlen 128)
    {
        
newstr[newlen] = newstr[newlen % (deflen 1)];
        
newlen++;
    }
    for(new 
i=0i<128i++) changeval[0] += newstr[i];
    
changeval[1] -= (changeval[0] % 100) + newstr[deflen 128];
    
changeval[2] = floatround(floatpower(changeval[0] % 216changeval[1] % 4));
    for(new 
i=0i<128i++)
    {
        
out[i] = 65 + ((changeval[0] + changeval[1] + changeval[2]) % 26);
        
changeval[0] -= changeval[1];
        
changeval[1] -= i;
        
changeval[2] += changeval[0] % 5;
    }
    return 
out;

PHP код:
Password KORVYENATQVIELBEUYSAASDJIEXOFULEABFQIISKOEHZEANSRIVEKPRUYEOASQVJEKBEVYRAATDIIEYOEULFAAFQJIRKOFHYEAOSQIVFKORUZENASRVI 
Reply


Messages In This Thread
False login problem - by EmpireSk - 24.12.2017, 15:55
Re: False login problem - by Abagail - 24.12.2017, 16:00
Re: False login problem - by EmpireSk - 24.12.2017, 17:38
Re: False login problem - by RogueDrifter - 24.12.2017, 18:22

Forum Jump:


Users browsing this thread: 1 Guest(s)