mirror of
https://github.com/logos-messaging/specs.git
synced 2026-01-02 14:13:06 +00:00
Update hash function for consistency
This commit is contained in:
parent
872b715b17
commit
f00cff3800
@ -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**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user