Skip to content

Instantly share code, notes, and snippets.

@mateusz-fiolka
Created August 6, 2014 12:16
Show Gist options
  • Save mateusz-fiolka/3fd2923718d736c54faf to your computer and use it in GitHub Desktop.
Save mateusz-fiolka/3fd2923718d736c54faf to your computer and use it in GitHub Desktop.
(def secret-key-bytes (byte-array
(map (fn [byte-str] (byte (- (Integer/parseInt byte-str 16) 128)))
(map (fn [res] (apply str res))
(partition 2 secret-key)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment