Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.73 KB | None | 0 0
  1.  
  2.  
  3. #include <stdio.h>
  4. #include <stdint.h>
  5. #include <string.h>
  6. #include <sys/types.h>
  7. #include <time.h>
  8. // #include <windows.h>
  9. typedef unsigned char byte;
  10. int main()
  11. {
  12.   _Bool _Var1;
  13.   long uVar2;
  14.   char *hash_00;
  15.   char *hex_00;
  16.   char time_string [20];
  17.   char *hex;
  18.   int hex_len;
  19.   char *hash;
  20.   uint32_t timestamp;
  21.  
  22.   uVar2 = time((time_t *)0x0);
  23.   time_string._0_8_ = 0;
  24.   time_string._8_8_ = 0;
  25.   time_string._16_4_ = 0;
  26.   sprintf((char *)time_string,"%d",(long)((int)((uVar2 & 0xffffffff) * 0x91a2b3c5 >> 0x29) * 900))
  27.   ;
  28.   hash_00 = hash512(time_string,10);
  29.   hex_00 = (char *)calloc(0x82,1);
  30.   _Var1 = bin2hex(hex_00,0x81,hash_00,0x40);
  31.   if (_Var1 == false) {
  32.     error();
  33.   }
  34.   return hex_00;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement