Argon2 Example (#282)

* add argon2 example to simple_login.rs

* rename Default to DefaultCipherSuite in examples to avoid conflicts with core::default::Default

* put the custom KSF example in the documentation

* add links in documentation

Co-authored-by: daxpedda <[email protected]>

* remove no_run on argon2 doctest

* hide argon2 cfg attribute in docs

Co-authored-by: daxpedda <[email protected]>

Co-authored-by: daxpedda <[email protected]>
This commit is contained in:
zer0x64
2022-07-24 20:26:48 -07:00
committed by GitHub
co-authored by daxpedda
parent 9ce5d8d191
commit 94fd3598d0
4 changed files with 136 additions and 27 deletions
+5
View File
@@ -68,6 +68,7 @@ proptest = "1"
rand = "0.8"
regex = "1"
rustyline = "9"
scrypt = "0.10"
serde_json = "1"
[[bench]]
@@ -77,3 +78,7 @@ name = "opaque"
[package.metadata.docs.rs]
features = ["argon2", "std", "x25519-u64"]
targets = []
[[example]]
name = "simple_login"
required-features = ["argon2"]