From e71e3907a712ac17fb51f70beadeed8cbaf43d76 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 13 Sep 2024 13:09:07 -0400 Subject: [PATCH] improves wording --- 76.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/76.md b/76.md index 85b164e1..141f82c6 100644 --- a/76.md +++ b/76.md @@ -22,10 +22,13 @@ Relays MUST check if the authed user is one of the keys in the `rp` before sendi ## Probabilistic Read Permissions -Bloom filters are bit arrays that encode keys `n` times. They are represented by a base64 encoded tag value with the `n` as the third element. +Probabilistic permissions use bloom filters that include a set of pubkeys. They are represented by a colon-separated value with: +1. the size of the bit array +2. the number of hashing rounds used by the filter +3. the bit array in Base64. ```json -["prp", "::"] +["prp", "::"] ``` Bloom filters MUST use `SHA-256` functions of the key + iterating index as the psedocode below: