Created
August 6, 2014 12:16
-
-
Save mateusz-fiolka/3fd2923718d736c54faf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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