stoneharry

Untitled

Jun 16th, 2012
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1.     static const unsigned short hash_constant (0x7a0b);
  2.     Sha1Hash newone;
  3.     newone.UpdateBigNumbers (&m_sessionkey, NULL);
  4.     newone.UpdateData ((uint8*)&hash_constant, sizeof (hash_constant));
  5.     newone.Finalize();
  6.     const unsigned char* hashed_session_key (newone.GetDigest());
Advertisement
Add Comment
Please, Sign In to add comment