Advertisement
NovaYoshi

sparkencrypt1 definition

Apr 12th, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. Prefix: (bold, inverse, underline, inverse, inverse, clear, bold, color 00, color 00)
  2. 02 16 1f 16 16 0f 02 03 30 30 03 30 30
  3. Keys (given in decimal as two bytes from 00 to 15 encoding one nybble):
  4. 03 xx xx 03 yy yy 0f
  5.  
  6. Key X: Top two bits specify an operation number from 0 to 3
  7. Key Y: Value to use for the operation
  8.  
  9. The operations only change the bottom nybble of each character in the encrypted message,
  10. and anything under character 0x20 is left completely alone. SE1 does *not* do any special
  11. handling on UTF-8 or anything beyond 0x7f so it's advised to stick to regular ASCII chars.
  12.  
  13. Operations (encrypting):
  14. 0: xor with 15, add key Y
  15. 1: add key Y
  16. 2: xor with 15, subtract key Y
  17. 3: subtract key Y
  18.  
  19. Operations (decrypting):
  20. 0: subtract key Y, xor with 15
  21. 1: subtract key Y
  22. 2: add key Y, xor with 15
  23. 3: add key Y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement