Skip to content

Instantly share code, notes, and snippets.

@mateusz-fiolka
Created August 6, 2014 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mateusz-fiolka/a9db9a4c16a8761fdd01 to your computer and use it in GitHub Desktop.
Save mateusz-fiolka/a9db9a4c16a8761fdd01 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