diff --git a/backend/src/uxbox/services/auth.clj b/backend/src/uxbox/services/auth.clj index 67defb8f6c..69d1c60ea8 100644 --- a/backend/src/uxbox/services/auth.clj +++ b/backend/src/uxbox/services/auth.clj @@ -10,7 +10,6 @@ [buddy.hashers :as hashers] [buddy.sign.jwt :as jwt] [buddy.core.hash :as hash] - [clj-ldap.client :as ldap] [uxbox.config :as cfg] [uxbox.util.spec :as us] [uxbox.db :as db] diff --git a/backend/src/uxbox/util/response.clj b/backend/src/uxbox/util/response.clj index 4ecf79dae9..1ca733bb78 100644 --- a/backend/src/uxbox/util/response.clj +++ b/backend/src/uxbox/util/response.clj @@ -27,7 +27,7 @@ (defn digest [^bytes data] - (-> (hash/blake2b-256 data) + (-> (hash/blake2b-512 data) (b64/encode true) (codecs/bytes->str)))