Module: kdf_hkdf¶
- class doubleratchet.recommended.kdf_hkdf.KDF[source]¶
Bases:
KDF
This KDF implemention uses HKDF with SHA-256 or SHA-512, using the KDF key as HKDF salt, the KDF data as HKDF input key material, and an application-specific byte sequence as HKDF info. The info value should be chosen to be distinct from other uses of HKDF in the application.
https://signal.org/docs/specifications/doubleratchet/#recommended-cryptographic-algorithms