Domanda

Si chiama queste funzioni API (advapi32.dll) con i seguenti parametri:

CryptCreateHash ( 3275488, 32771, 0, 0, 1243424 );
CryptHashData   ( 3203040, 'UY30930037661', 13, 0 );
CryptCreateHash ( 3276304, 32771, 0, 0, 46463812 );
CryptHashData   ( 3203296, '-585164138661', 10, 0 );
CryptCreateHash ( 3276304, 32771, 0, 0, 46463808 );
CryptHashData   ( 3203424, '1db17bd8ef8bcbd734424a9eae818907LOGIN OK³·óéB', 40, 0 );
CryptCreateHash ( 3276304, 32771, 0, 0, 46463808 );
CryptHashData   ( 3203296, '1db17bd8ef8bcbd734424a9eae818907HWHASH OK', 41, 0 );

Non sono sicuro di come sarebbe venuto a

1db17bd8ef8bcbd734424a9eae818907

Qualcuno ha qualche idea?

È stato utile?

Soluzione

(vedi qui: ) La chiamata alla iniziati CryptCreateHash hashing con MD5 (32771 = 0x8003): algoritmo di hashing MD5 CALG_MD5 0x00008003. . E la chiamata a CryptHashData hash il secondo parametro (quello tra virgolette) utilizzando tale oggetto hash. Credo che queste lunghe stringhe potrebbero essere le chiavi che devono essere hash prima della trasmissione su una rete o qualcosa del genere.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top