fork(8) download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void) {
  5. int a = 0, b = 0, i, e = 0, j;
  6. char * ptr = NULL;
  7. char text[] = "testyourtexthere";
  8. char c[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`~!@#$%^&*()_+-=|[];',.{}:<>? ";
  9.  
  10. for (i = 0; i < strlen(text); i++) {
  11. ptr = strchr(c, text[i]);
  12.  
  13. if (ptr == NULL)
  14. e = strlen(c) + 1;
  15. else
  16. e = (int)(ptr - c);
  17.  
  18. for (j = 0; j < 16; j++) {
  19. a = a * -4 + b + 0x7494 - e;
  20. b = ((b << 5) ^ (b >> 27)) ^ 0x85A8 & a - e;
  21. }
  22. }
  23. printf("%08x%08x\n", a, b);
  24. return 0;
  25. }
  26.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
1734050db80ee557