buddy.hashers

check

(check attempt encrypted)(check attempt encrypted {:keys [limit setter prefered], :as options})

Check if a unencrypted password matches with another encrypted password.

Should be considered as DEPRECATED.

check-password

multimethod

Password verification implementation.

derive

(derive password)(derive password options)

Encrypts a raw string password.

derive-password

multimethod

Derive key depending on algorithm.

encrypt

(encrypt & params)

Backward compatibility alias for derive.

Should be consiered as DEPRECATED.

format-password

multimethod

Format password depending on algorithm.

must-update?

multimethod

Check if the current password configuration is succeptible to be updatable.

parse-password

multimethod

Parse password from string to parts.

verify

(verify attempt encrypted)(verify attempt encrypted {:keys [limit prefered], :as options})

Check if a unencrypted password matches with another encrypted password. Analogous to check with different call signature. Prefer this method over check.