Advertisement
Guest User

Untitled

a guest
Jan 13th, 2020
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.27 KB | None | 0 0
  1. (let* ((msg (ironclad:ascii-string-to-byte-array "hello"))
  2.        (key (ironclad:ascii-string-to-byte-array "password"))
  3.        (out (copy-seq msg)))
  4.   (ironclad:encrypt (ironclad:make-cipher :blowfish :key key :mode :ecb)
  5.                     msg out)
  6.   (equalp msg out)) => T
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement