Bug 1495281 - fix Prio code-block, and make example more idiomatic r=janerik
authorRobert Helmer <rhelmer@mozilla.com>
Mon, 01 Oct 2018 07:41:29 +0000
changeset 487293 b5f1f2c670aeee175f8f0de025fd1aaa1b74578b
parent 487292 3b77ee1b098608adfdd6bd62bed3eab27dfd8f69
child 487294 ea8e57754ff21e84274c9cbd967466856c8a5275
push id246
push userfmarier@mozilla.com
push dateSat, 13 Oct 2018 00:15:40 +0000
reviewersjanerik
bugs1495281
milestone64.0a1
Bug 1495281 - fix Prio code-block, and make example more idiomatic r=janerik Differential Revision: https://phabricator.services.mozilla.com/D7248
toolkit/components/telemetry/docs/data/main-ping.rst
--- a/toolkit/components/telemetry/docs/data/main-ping.rst
+++ b/toolkit/components/telemetry/docs/data/main-ping.rst
@@ -674,25 +674,26 @@ Structure:
     ],
 
 Prio
 ----
 This section contains experimental data encoded with a basic version of the Prio system for private aggregation.
 See `the Prio paper <https://crypto.stanford.edu/prio/>`_ and `the libprio Github repo <https://github.com/mozilla/libprio>`_
 for more information.
 
-Prio splits data packets into two "shares", signed for different servers that will do the decryption+decoding and
+Prio splits data packets into two "shares", signed for different servers that will do the decryption and
 aggregation. We call these "Server A" and "Server B", represented as `a` and `b` keys in `payload.prio`.
 
 Structure:
 
 .. code-block:: js
+
     "prio": {
-      a: ... // Uint8Array containing data signed for Server A
-      b: ... // Uint8Array containing data signed for Server B
+      a: [...],
+      b: [...]
     }
 
 
 Version History
 ---------------
 
 - Firefox 61: