From anonymous, 1 Month ago, written in Python.
This paste will explode in 1 Second.
This paste is a reply to Re: Untitled from anonymous
- view diff
Embed
  1. def dec(bytestr):
  2.     positions = [7, 5, 4, 3, 6, 2, 1, 0]
  3.     res = []
  4.     for c in bytestr:
  5.         outc = 0x2800
  6.         for i in range(0, 8):
  7.             if c & (1 << i):
  8.                 outc |= (1 << positions[i])
  9.         res.append(outc)
  10.  
  11.     return ''.join([chr(b) for b in res])
  12.  
  13. d={0:10240,   1:10368,    2:10272,    3:10400,    4:10256,    5:10384,    6:10288,    7:10416,
  14.   8:10248,    9:10376,   10:10280,   11:10408,   12:10264,   13:10392,   14:10296,   15:10424,
  15.  16:10304,   17:10432,   18:10336,   19:10464,   20:10320,   21:10448,   22:10352,   23:10480,
  16.  24:10312,   25:10440,   26:10344,   27:10472,   28:10328,   29:10456,   30:10360,   31:10488,
  17.  32:10244,   33:10372,   34:10276,   35:10404,   36:10260,   37:10388,   38:10292,   39:10420,
  18.  40:10252,   41:10380,   42:10284,   43:10412,   44:10268,   45:10396,   46:10300,   47:10428,
  19.  48:10308,   49:10436,   50:10340,   51:10468,   52:10324,   53:10452,   54:10356,   55:10484,
  20.  56:10316,   57:10444,   58:10348,   59:10476,   60:10332,   61:10460,   62:10364,   63:10492,
  21.  64:10242,   65:10370,   66:10274,   67:10402,   68:10258,   69:10386,   70:10290,   71:10418,
  22.  72:10250,   73:10378,   74:10282,   75:10410,   76:10266,   77:10394,   78:10298,   79:10426,
  23.  80:10306,   81:10434,   82:10338,   83:10466,   84:10322,   85:10450,   86:10354,   87:10482,
  24.  88:10314,   89:10442,   90:10346,   91:10474,   92:10330,   93:10458,   94:10362,   95:10490,
  25.  96:10246,   97:10374,   98:10278,   99:10406,  100:10262,  101:10390,  102:10294,  103:10422,
  26. 104:10254,  105:10382,  106:10286,  107:10414,  108:10270,  109:10398,  110:10302,  111:10430,
  27. 112:10310,  113:10438,  114:10342,  115:10470,  116:10326,  117:10454,  118:10358,  119:10486,
  28. 120:10318,  121:10446,  122:10350,  123:10478,  124:10334,  125:10462,  126:10366,  127:10494,
  29. 128:10241,  129:10369,  130:10273,  131:10401,  132:10257,  133:10385,  134:10289,  135:10417,
  30. 136:10249,  137:10377,  138:10281,  139:10409,  140:10265,  141:10393,  142:10297,  143:10425,
  31. 144:10305,  145:10433,  146:10337,  147:10465,  148:10321,  149:10449,  150:10353,  151:10481,
  32. 152:10313,  153:10441,  154:10345,  155:10473,  156:10329,  157:10457,  158:10361,  159:10489,
  33. 160:10245,  161:10373,  162:10277,  163:10405,  164:10261,  165:10389,  166:10293,  167:10421,
  34. 168:10253,  169:10381,  170:10285,  171:10413,  172:10269,  173:10397,  174:10301,  175:10429,
  35. 176:10309,  177:10437,  178:10341,  179:10469,  180:10325,  181:10453,  182:10357,  183:10485,
  36. 184:10317,  185:10445,  186:10349,  187:10477,  188:10333,  189:10461,  190:10365,  191:10493,
  37. 192:10243,  193:10371,  194:10275,  195:10403,  196:10259,  197:10387,  198:10291,  199:10419,
  38. 200:10251,  201:10379,  202:10283,  203:10411,  204:10267,  205:10395,  206:10299,  207:10427,
  39. 208:10307,  209:10435,  210:10339,  211:10467,  212:10323,  213:10451,  214:10355,  215:10483,
  40. 216:10315,  217:10443,  218:10347,  219:10475,  220:10331,  221:10459,  222:10363,  223:10491,
  41. 224:10247,  225:10375,  226:10279,  227:10407,  228:10263,  229:10391,  230:10295,  231:10423,
  42. 232:10255,  233:10383,  234:10287,  235:10415,  236:10271,  237:10399,  238:10303,  239:10431,
  43. 240:10311,  241:10439,  242:10343,  243:10471,  244:10327,  245:10455,  246:10359,  247:10487,
  44. 248:10319,  249:10447,  250:10351,  251:10479,  252:10335,  253:10463,  254:10367,  255:10495, }
  45.  
  46.  
  47.  
  48. print('hello! HI.'.translate(d))
  49.