   (:require
     byte-streams
     [clojure.java.io :as io]
-    [clojure.string :as string]
+    [clojure.string :as str]
     [mvxcvi.crypto.util :refer [do-bytes hex-str]])
   (:import
     (java.io

      BcPBESecretKeyDecryptorBuilder)))


;; CONFIGURATION

(defn- map-tags
  "Converts static 'tag' fields on the given class into a map of keywords to

  (let [field->entry
        (fn [^java.lang.reflect.Field f]
          (vector (-> (.getName f)
                      (str/replace \_ \-)
                      .toLowerCase
                      keyword)
                  (.getInt f nil)))]
