improves wording

This commit is contained in:
Vitor Pamplona 2024-09-13 13:09:07 -04:00
parent bad139ed6e
commit e71e3907a7

7
76.md
View File

@ -22,10 +22,13 @@ Relays MUST check if the authed user is one of the keys in the `rp` before sendi
## Probabilistic Read Permissions ## 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 ```json
["prp", "<bit size>:<rounds>:<base64>"] ["prp", "<BitArray Size>:<Rounds>:<base64>"]
``` ```
Bloom filters MUST use `SHA-256` functions of the key + iterating index as the psedocode below: Bloom filters MUST use `SHA-256` functions of the key + iterating index as the psedocode below: