♻️ Replace internal crypto/pbkd with buddy.

This commit is contained in:
Andrey Antukh 2020-09-15 14:48:13 +02:00 committed by Alonso Torres
parent 28da2406d3
commit 7c068621cf
16 changed files with 54 additions and 757 deletions

View file

@ -12,7 +12,7 @@
(:require
[clojure.tools.logging :as log]
[mount.core :as mount]
[sodi.pwhash :as pwhash]
[buddy.hashers :as hashers]
[app.common.data :as d]
[app.common.pages :as cp]
[app.common.uuid :as uuid]
@ -28,7 +28,7 @@
;; --- Profiles creation
(def password (pwhash/derive "123123"))
(def password (hashers/derive "123123"))
(def preset-small
{:num-teams 5