-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
40 lines (35 loc) · 1.83 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "password-encoder-for-spring-security-hashes"
version = "0.1.0"
edition = "2021"
authors = ["Danny Althoff <[email protected]>"]
description = "Rust based password encoders for Spring Security hashes"
license = "Apache-2.0"
keywords = ["spring", "boot", "security", "password"]
categories = ["authentication", "cryptography"]
repository = "https://github.com/FibreFoX/password-encoder-for-spring-security-hashes"
# TODO remove the following before first release
publish = false
[badges]
maintenance = {status = "experimental"}
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# {argon2} new org.springframework.security.crypto.argon2.Argon2PasswordEncoder();
argon2 = "0.5.0"
# {bcrypt} new org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder();
bcrypt = { version = "0.14.0", features = ["default", "alloc"]}
# {MD4} new org.springframework.security.crypto.password.Md4PasswordEncoder();
md4 = "0.10.2"
# {MD5} new org.springframework.security.crypto.password.MessageDigestPasswordEncoder(“MD5”);
md-5 = "0.10.5"
hex = "0.4.3"
# {pbkdf2} new org.springframework.security.crypto.password.Pbkdf2PasswordEncoder();
pbkdf2 = "0.12.1"
# {scrypt} new org.springframework.security.crypto.scrypt.SCryptPasswordEncoder();
scrypt = "0.11.0"
# ??? für die 4 diese lib hier nutzen? -> https://docs.rs/password-hash/latest/password_hash/
# oder https://github.com/RustCrypto/password-hashes
# {ldap} new org.springframework.security.crypto.password.LdapShaPasswordEncoder();
# {SHA-1} new org.springframework.security.crypto.password.MessageDigestPasswordEncoder(“SHA-1”);
# {SHA-256} new org.springframework.security.crypto.password.MessageDigestPasswordEncoder(“SHA-256”);
# {sha256} new org.springframework.security.crypto.password.StandardPasswordEncoder();