{"categories":[{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography/2"}],"enrichment":{"capability":"Implements HMAC-based Key Derivation Function (HKDF) with extract-and-expand operations for deriving cryptographic keys from input key material.","skillfed_tags":["key-derivation","cryptography","dormant"],"use_cases":["Derive encryption keys from a user password in a password-based key derivation workflow.","Generate multiple independent session keys from a single shared secret in a protocol handshake.","Expand a master key into subkeys for different purposes (e.g., encryption, authentication, integrity).","Implement cryptographic protocols that require HKDF-based key material generation."],"what_it_does":"HKDF is a cryptographic key derivation function that implements the HMAC-based Extract-and-Expand Key Derivation Function as specified in the draft RFC. It takes input key material (typically a password or shared secret) and derives one or more cryptographically strong keys suitable for use in encryption, authentication, or other cryptographic operations. The package provides both a functional interface (separate `hkdf_extract()` and `hkdf_expand()` functions) and a wrapper class (`Hkdf`) for convenience.\n\nThe functional interface defaults to SHA-512 for hashing, while the wrapper class defaults to SHA-256. Both allow you to specify a custom hash function. The extract phase produces a pseudorandom key (PRK) from input material and an optional salt; the expand phase then generates output key material of a specified length, optionally parameterized by context information. This is useful when you need to derive multiple independent keys from a single source or when you need to convert weak input into strong cryptographic material.","worth_installing":"No. The package is dormant (last release 2015-06-16, classifiers list only Python 2.6\u20133.4, all end-of-life), has high install friction (source-only), and offers no runtime dependencies to ease integration. Install only if you are maintaining legacy Python 2 code that already depends on it."},"id":"hkdf","links":{"html":"https://skillfed.io/packages/hkdf","md":"https://skillfed.io/packages/hkdf.md","pypi":"https://pypi.org/project/hkdf/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2015-06-16","license_spdx":null,"license_treatment":"permissive","name":"hkdf","python_support":"unspecified","summary":"HMAC-based Extract-and-Expand Key Derivation Function (HKDF)"},"popularity":{"monthly_downloads":101992,"position":12900,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.3"}
