16.10.2013, 15:05
Hello;
Have a problem with hhash_hmah
..
.. 391
..449
and .. and above I have defined
Have a problem with hhash_hmah
PHP код:
C:\Users\Casa\Desktop\JustRP.pwn(391) : error 035: argument type mismatch (argument 4)
C:\Users\Casa\Desktop\JustRP.pwn(449) : error 035: argument type mismatch (argument 4)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
PHP код:
native hhash_hmac(algid, input[], key[], buffer[], buflen);
PHP код:
case DIALOG_LOGIN:
{
new HashedPassword[129];
hhash_hmac(H_SHA256, inputtext, HashedPassword, H_SHA256_LEN);
PHP код:
hhash_hmac(H_SHA256, inputtext, PlayerInfo[playerid][pPass], H_SHA256_LEN);
and .. and above I have defined
PHP код:
#define H_MD5 1
#define H_SHA1 2
#define H_SHA256 3
#define H_SHA512 4
#define H_RIPEMD160 5
#define H_WHIRLPOOL 6
#define H_MD5_LEN 32
#define H_SHA1_LEN 40
#define H_SHA256_LEN 64
#define H_SHA512_LEN 128
#define H_RIPEMD160_LEN 40
#define H_WHIRLPOOL_LEN 128