Re: SHA512 -
Edvin - 22.08.2012
This hash is better that
whirlpool's?
Re: SHA512 - Glint - 22.08.2012
Quote:
Originally Posted by Edvin
This hash is better that whirlpool's?
|
No Whirlpool is better then this.
Re: SHA512 -
Memoryz - 22.08.2012
It doesn't really matter, since they are both considered the strongest algorithms, however WhirlPool was made in 2001 and SHA512 in 2000.
Re: SHA512 -
Jajetin - 16.10.2013
Password with PHP: ($passcrypt = hash_hmac('sha512', $_POST['password'], DB_PASS_SALT)
6c5a950af83bb9d0110692c538f9b9455bbde016092aff3d0f 3c885881974044677c42dbb9f7c57b24a518a3dabb7f63e5f6 9061e7b9cdf50d676c0d2315ad4b
And Password with samp:
ddc89a13455bc51cd221b292d50de2bfe5509b9f1a27acc2f9 a3f1104a1b1cf9f40653a9e973f54e989af1197fb784d36f86 f17210a88616259c2dfeb5a251db
its different
as I can make the encryption is the same?
Re: SHA512 -
Sublime - 16.10.2013
Maybe they are hashed with SHA512, but hashed again with a different algorithm?
Re: SHA512 -
DaRealShazz - 23.10.2013
Quote:
Originally Posted by Jajetin
Password with PHP: ($passcrypt = hash_hmac('sha512', $_POST['password'], DB_PASS_SALT)
6c5a950af83bb9d0110692c538f9b9455bbde016092aff3d0f 3c885881974044677c42dbb9f7c57b24a518a3dabb7f63e5f6 9061e7b9cdf50d676c0d2315ad4b
And Password with samp:
ddc89a13455bc51cd221b292d50de2bfe5509b9f1a27acc2f9 a3f1104a1b1cf9f40653a9e973f54e989af1197fb784d36f86 f17210a88616259c2dfeb5a251db
its different
as I can make the encryption is the same?
|
You are hashing with a salt in PHP.
Use
PHP код:
$passcrypt = hash('sha512', $_POST['password']);
to get the same results.
Although, you probably want to salt it (for better security) so do something like this:
PHP код:
$passcrypt = hash('sha512', $POST['password'] . 'mySalt');
If you do that then make sure you've done the same in PAWN:
pawn Код:
new passcrypt[128], saltedPassword[128];
format(saltedPassword, sizeof(saltedPassword), "%smySalt", password);
SHA512(saltedPassword, passcrypt, 128);
* Make sure the salt is same in PHP and PAWN.
* Concatenating the salt to the end of the password is pretty common practise so you want to come up with your own combination (like adding it to the front twice and 3 times at the back). Just make sure that if the same input is given, the same output will be produced every single time.
Re: SHA512 -
Tatar1n - 29.12.2013
such problem
in game:
dec364de83f56e6
e9242a58c694dfba72295aadd0c8a323dfe32b48ed33701ad292 e0449a52a7fff2e19b7a9bf710165a33cd04c92d619d532414 3ada5b3123
lenght 127
Код:
new tmppass[32] = "7414474144", passhash[128];
format(tmppass, sizeof(tmppass), "%s%s", tmppass, salt_char);
SHA512(tmppass, passhash, sizeof(passhash));
in ucp:
dec364de83f56e6
e09242a58c694dfba72295aadd0c8a323dfe32b48ed33701ad292 e0449a52a7fff2e19b7a9bf710165a33cd04c92d619d532414 3ada5b3123
lenght 128
Код:
hash('sha512', '7414474144'.SALT_CHAR)
AW: SHA512 -
Mellnik - 29.12.2013
Maybe try 129 for the variable because of the null terminator.
Re: SHA512 -
Tatar1n - 29.12.2013
the same way..
Re: SHA512 -
seegras - 18.02.2015
Quote:
Originally Posted by cssbart
help i get error  about a .dll file
says this is missing MSVCR100D.dll
|
Got the Same Error, installing
Microsoft Visual C++ 2010 SP1 Redistributable doesn't fix the Problem