MCPcopy Index your code
hub / github.com/RustCrypto/KDFs

github.com/RustCrypto/KDFs @ansi-x963-kdf-v0.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release ansi-x963-kdf-v0.0.1 ↗ · + Follow
116 symbols 178 edges 19 files 27 documented · 23%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

RustCrypto: Key Derivation Functions

Project Chat dependency status Apache2/MIT licensed

Collection of Key Derivation Functions (KDF) written in pure Rust.

Supported Algorithms

Algorithm Crate Crates.io Documentation MSRV
ANSI-X9.63-KDF [ansi-x963-kdf] crates.io Documentation MSRV 1.81
bake-kdf [bake-kdf] crates.io Documentation MSRV 1.81
Concat-KDF [concat-kdf] crates.io Documentation MSRV 1.81
HKDF [hkdf] crates.io Documentation MSRV 1.81
KBKDF [kbkdf] crates.io Documentation MSRV 1.81

NOTE: for password-based KDFs (e.g. Argon2, PBKDF2, scrypt), please see RustCrypto/password-hashes

Minimum Supported Rust Version (MSRV) Policy

MSRV bumps are considered breaking changes and will be performed only with minor version bump.

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Extension points exported contracts — how you extend this code

R (Interface)
Marker used to register valid values for R in the KBKDF [4 implementers]
kbkdf/src/sealed.rs
TestData (Interface)
Each trait implementation represents one KBKDF mode and its data. [3 implementers]
kbkdf/tests/kbkdf/parser.rs
HmacImpl (Interface)
Sealed trait implemented for [`Hmac`] and [`SimpleHmac`]. [1 implementers]
hkdf/src/lib.rs
Kbkdf (Interface)
[`Kbkdf`] is a trait representing a mode of KBKDF. It takes multiple arguments: - Prf - the Pseudorandom Function to der [3 …
kbkdf/src/lib.rs
Sealed (Interface)
(no doc) [2 implementers]
hkdf/src/sealed.rs
Sealed (Interface)
(no doc) [4 implementers]
kbkdf/src/sealed.rs
KbkdfUser (Interface)
(no doc) [1 implementers]
kbkdf/src/lib.rs

Core symbols most depended-on inside this repo

update
called by 17
hkdf/src/sealed.rs
finalize
called by 7
hkdf/src/lib.rs
expand
called by 5
hkdf/src/lib.rs
belt_keyrep
called by 4
bake-kdf/src/lib.rs
input_ikm
called by 3
hkdf/src/lib.rs
build
called by 3
kbkdf/src/lib.rs
with_label
called by 3
kbkdf/src/lib.rs
use_l
called by 3
kbkdf/src/lib.rs

Shape

Function 51
Method 34
Class 18
Interface 7
Enum 6

Languages

Rust100%

Modules by API surface

kbkdf/src/lib.rs22 symbols
kbkdf/tests/kbkdf/parser.rs21 symbols
hkdf/src/lib.rs11 symbols
hkdf/tests/tests.rs10 symbols
concat-kdf/tests/tests.rs7 symbols
ansi-x963-kdf/tests/tests.rs7 symbols
kbkdf/src/tests.rs6 symbols
hkdf/src/sealed.rs6 symbols
hkdf/tests/rfc5869.rs4 symbols
hkdf/src/errors.rs3 symbols
hkdf/benches/mod.rs3 symbols
concat-kdf/src/lib.rs3 symbols

For agents

$ claude mcp add KDFs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page