diff --git a/src/taoensso/nippy/crypto.clj b/src/taoensso/nippy/crypto.clj index 70606d8..d891ec5 100644 --- a/src/taoensso/nippy/crypto.clj +++ b/src/taoensso/nippy/crypto.clj @@ -112,20 +112,4 @@ (encrypt crypto-default "s" "p") (decrypt crypto-default "s" "p") (decrypt crypto-default "s" "p") - (String.)))) - -;; TODO Nippy: Compress _then_ encode. Decode _then_ decompress. -;; TODO Move tests to actual unit tests ns. -;; TODO Update benchmarks with crypto (so 3 bars). -;; TODO Add tests for bad decryption (e.g. wrong key) -;; ;; (comment -;; ;; (let [data (dissoc nippy/stress-data :bytes)] -;; ;; (= data (->> data -;; ;; (nippy/freeze-to-bytes) -;; ;; (encrypt-aes "my-password") -;; ;; (decrypt-aes "my-password") -;; ;; (nippy/thaw-from-bytes)))) - -;; ;; (let [ba (nippy/freeze-to-bytes nippy/stress-data)] -;; ;; (time (dotimes [_ 10000] (->> ba (encrypt-aes "my-password") -;; ;; (decrypt-aes "my-password")))))) \ No newline at end of file + (String.)))) \ No newline at end of file