You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/gs-normalization-encoding.md
+92-2Lines changed: 92 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ For examples of various scenarios, see [Normalization Examples for Email](#norma
58
58
59
59
An email hash is a Base64-encoded <Linkhref="../ref-info/glossary-uid#gl-sha-256">SHA-256</Link> hash of a normalized email address. The email address is first normalized, then hashed using the SHA-256 hashing algorithm, and then the resulting bytes of the hash value are encoded using Base64 encoding. Note that the Base64 encoding is applied to the bytes of the hash value, not the hex-encoded string representation.
60
60
61
-
The following table shows an example of a simple input email address, and the result as each step is applied to arrive at a secure, opaque, URL-safe value.
61
+
The following table shows an example of a simple input email address, and the result as each step is applied to arrive at a secure, opaque value.
62
62
63
63
The final value, the hex to Base64 encoded representation of the SHA-256 hash, is the value to provide to the UID2 Operator endpoint.
64
64
@@ -85,6 +85,96 @@ Some of the examples show email addresses that include the plus sign (+), with d
85
85
In working with your own UID2s, always provide the final value, the Base64-encoded value, to the UID2 Operator endpoint.
86
86
:::
87
87
88
+
[**GWH__SW Not entirely sure what you're asking, but, trying a couple of different treatments here. Below is #1. I'd tried this before the one I checked in, but felt there was too much separation between the values.**]
[**GWH__SW here is another. If you don't like either of these, let's discuss in our meeting my Tues your Wed. Note: I could add space between the steps and values, but don't have a way to align them, AFAIK, with our current CSS.But, the above example has the values in separate rows, and the below example combines them. I felt that separate rows were too spread out; but if you feel that combining them is too squashed or otherwise less readable, we can have separate rows of course.**]
[**GWH__SW here is the table I checked in, for comparison**]
176
+
177
+
88
178
<table>
89
179
<thead>
90
180
<tr>
@@ -166,7 +256,7 @@ Make sure that the normalized phone number is UTF-8, not another encoding system
166
256
167
257
A phone number hash is a Base64-encoded SHA-256 hash of a normalized phone number. The phone number is first normalized, then hashed using the SHA-256 hashing algorithm, and then the resulting bytes of the hash value are encoded using Base64 encoding. Note that the Base64 encoding is applied to the bytes of the hash value, not the hex-encoded string representation.
168
258
169
-
The following table shows an example of a simple input phone number, and the result as each step is applied to arrive at a secure, opaque, URL-safe value.
259
+
The following table shows an example of a simple input phone number, and the result as each step is applied to arrive at a secure, opaque value.
170
260
171
261
The final value, the hex to Base64 encoded representation of the SHA-256 hash, is the value to provide to the UID2 Operator endpoint.
0 commit comments