From f00cff3800eea40b58a104ec44a05c3085f6c1ea Mon Sep 17 00:00:00 2001 From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com> Date: Tue, 18 Nov 2025 22:04:27 -0800 Subject: [PATCH] Update hash function for consistency --- standards/application/privatev1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/standards/application/privatev1.md b/standards/application/privatev1.md index de77611..e67e0e9 100644 --- a/standards/application/privatev1.md +++ b/standards/application/privatev1.md @@ -212,9 +212,9 @@ Payloads are encrypted using the [Double Ratchet](https://signal.org/docs/specif **Double Ratchet Configuration** - `DH`: X25519 for Diffie-Hellman operations -- `KDF_RK`: HKDF with SHA256, `info = "PrivateV1RootKey"` -- `KDF_CK`: HKDF with SHA256, using `input`=`0x01` for message keys and `input`=`0x02` for chain keys -- `KDF_MK`: HKDF with SHA256, `info = "PrivateV1MessageKey"` +- `KDF_RK`: HKDF with BLAKE2b, `info = "PrivateV1RootKey"` +- `KDF_CK`: HKDF with BLAKE2b, using `input`=`0x01` for message keys and `input`=`0x02` for chain keys +- `KDF_MK`: HKDF with BLAKE2b, `info = "PrivateV1MessageKey"` - `ENCRYPT`: `AEAD_CHACHA20_POLY1305` **AEAD Implementation**