Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2022
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. (defun decrypt (ciphertext &optional (key 55665) (n 4) (c1 52845) (c2 22719))
  2. (loop :for i :from 0
  3. :for cipher :across ciphertext
  4. :for R := key :then (mod (+ c2 (* c1 (+ cipher R)))65536)
  5. :for P := (logxor cipher (ash R -8))
  6. :unless (< i n)
  7. :collect P))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement