Skip to main content
Planned maintenance impacting Stack Overflow and all Stack Exchange sites is scheduled for Monday, September 16, 2024, 5:00 PM-10:00 PM EDT (Monday, September 16, 21:00 UTC- Tuesday, September 17, 2:00 UTC). The email/password authentication method will be unavailable for logging in and registering. Read more here
13 votes

Determining Entropy in PHP

$token = md5($user_id . time()); The password reset token is supposed to be secret. However, it is derived from values that are not secret, or at least not hard to guess. The attack scenario is as ...
Sjoerd's user avatar
  • 33k
9 votes

Determining Entropy in PHP

Just a few additions to Sjoerd's answer: It doesn't matter that the result is 128 bits long (you wrote 32 bits, but you probably meant hexadecimal characters). It's also irrelevant that MD5 cannot be ...
Ja1024's user avatar
  • 17.5k
2 votes
Accepted

How does the key distribution center (KDC) distribute the session key in symmetric ecryption?

You're mixing up different protocols. First off, you need to understand which protocol you're even talking about. Based on your description, it's the Needham-Schroeder protocol. Then it's important to ...
Ja1024's user avatar
  • 17.5k
1 vote
Accepted

Decrypting base2i encryption?

Using the base 2i leads to the quater-imaginary representation of the number. This isn't any kind of encryption. At best, it might be called encoding. Converting from base 2i to the decimal ...
Ja1024's user avatar
  • 17.5k

Only top scored, non community-wiki answers of a minimum length are eligible