Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <summary>
- /// Generate random Timestamp
- /// </summary>
- public static string GenerateTimestamp()
- {
- long j2;
- long input = CurrentUnixTimeMillis();
- long j3 = 30 & ((((65280 & input) >> 8) ^ ((16711680 & input) >> 16)) ^ ((-16777216 & input) >> 24));
- j2 = (224 & input) >> 5;
- long j4 = -255 & input;
- if (j3 % 4 == 0)
- {
- j2 = (j2 / 3) * 3;
- }
- else
- {
- j2 = (j2 / 2) * 2;
- }
- j2 = ((j2 << 5) | j4) | j3;
- return j2.ToString();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement