Skip to content

Commit fb19437

Browse files
authored
Merge pull request #1015 from IABTechLab/gwh-APIDOCS-3875-02-Base-64-copy
Fix Base-64 to Base64
2 parents 92b0d24 + d39176d commit fb19437

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

docs/getting-started/gs-normalization-encoding.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ An email hash is a Base64-encoded <Link href="../ref-info/glossary-uid#gl-sha-25
6060

6161
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.
6262

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.
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.
6464

6565
:::warning
6666
When applying Base64 encoding, be sure to Base64-encode the raw bytes of the hash or use a Base64 encoder that takes a hex-encoded value as input. If you use a function that takes text as input, the result is a longer string which is invalid for the purposes of UID2.
@@ -147,7 +147,7 @@ A phone number hash is a Base64-encoded SHA-256 hash of a normalized phone numbe
147147

148148
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.
149149

150-
The final value, the hex to Base64 encoded representation of the SHA-256 hash, is the value to provide to the UID2 Operator endpoint.
150+
The final value, the hex to Base64-encoded representation of the SHA-256 hash, is the value to provide to the UID2 Operator endpoint.
151151

152152
:::warning
153153
When applying Base64 encoding, be sure to use a function that takes a hex value as input. If you use a function that takes text as input, the result is a longer string which is invalid for the purposes of UID2.
@@ -162,7 +162,7 @@ When applying Base64 encoding, be sure to use a function that takes a hex value
162162

163163
## Example Code
164164

165-
For an example of how to generate email and phone hashes in JavaScript, see [Example Code: Hashing and Base-64 Encoding](../guides/integration-javascript-client-side#example-code-hashing-and-base-64-encoding).
165+
For an example of how to generate email and phone hashes in JavaScript, see [Example Code: Hashing and Base64 Encoding](../guides/integration-javascript-client-side#example-code-hashing-and-base64-encoding).
166166

167167
## UID2 Hashing Tool
168168

docs/guides/integration-javascript-client-side.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ The following examples demonstrate the different ways that you can configure the
200200

201201
If the SDK is configured multiples times, it uses the most recent configuration values.
202202

203-
For an example of how to generate email and phone hashes in JavaScript, see [Example Code: Hashing and Base-64 Encoding](#example-code-hashing-and-base-64-encoding).
203+
For an example of how to generate email and phone hashes in JavaScript, see [Example Code: Hashing and Base64 Encoding](#example-code-hashing-and-base64-encoding).
204204

205205
<Tabs>
206206
<TabItem value='example_email_unhashed' label='Email, Unhashed'>
@@ -314,7 +314,7 @@ const clientSideConfig = {
314314
serverPublicKey: "...",
315315
};
316316

317-
// Example of a base-64 encoded SHA-256 hash of an email address.
317+
// Example of a Base64-encoded SHA-256 hash of an email address.
318318
const emailHash = "tMmiiTI7IaAcPpQPFQ65uMVCWH8av9jw4cwf/F5HVRQ=";
319319

320320
// When the UID2 SDK is executed, it looks for these callbacks and invokes them.
@@ -386,7 +386,7 @@ If there was a problem generating the token, find the request in the **Network**
386386
387387
![Publisher Workflow](images/NetworkTraffic.png)
388388
389-
## Example Code: Hashing and Base-64 Encoding
389+
## Example Code: Hashing and Base64 Encoding
390390
391391
The following code example demonstrates how to generate email and phone hashes in JavaScript.
392392

i18n/ja/docusaurus-plugin-content-docs/current/getting-started/gs-normalization-encoding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Base64 エンコーディングを適用する際は、ハッシュの生のバ
162162

163163
## Example Code
164164

165-
メールアドレスや電話番号のハッシュを生成する方法の例は、[Example Code: Hashing and Base-64 Encoding](../guides/integration-javascript-client-side#example-code-hashing-and-base-64-encoding) を参照してください。
165+
メールアドレスや電話番号のハッシュを生成する方法の例は、[Example Code: Hashing and Base64 Encoding](../guides/integration-javascript-client-side#example-code-hashing-and-base64-encoding) を参照してください。
166166

167167
## UID2 Hashing Tool
168168

i18n/ja/docusaurus-plugin-content-docs/current/guides/integration-javascript-client-side.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ SDK は、ハッシュ化された DII を UID2 Service に送信する前に暗
200200

201201
SDK が複数回設定された場合、最新の設定値が使用されます。
202202

203-
JavaScript でメールアドレスと電話番号のハッシュを生成する方法の例については、[Example Code: Hashing and Base-64 Encoding](#example-code-hashing-and-base-64-encoding) を参照してください。
203+
JavaScript でメールアドレスと電話番号のハッシュを生成する方法の例については、[Example Code: Hashing and Base64 Encoding](#example-code-hashing-and-base64-encoding) を参照してください。
204204

205205
<Tabs>
206206
<TabItem value='example_email_unhashed' label='Email, Unhashed'>
@@ -314,7 +314,7 @@ const clientSideConfig = {
314314
serverPublicKey: "...",
315315
};
316316

317-
// Example of a base-64 encoded SHA-256 hash of an email address.
317+
// Example of a Base64-encoded SHA-256 hash of an email address.
318318
const emailHash = "tMmiiTI7IaAcPpQPFQ65uMVCWH8av9jw4cwf/F5HVRQ=";
319319

320320
// When the UID2 SDK is executed, it looks for these callbacks and invokes them.
@@ -386,7 +386,7 @@ window.__uid2.callbacks.push(async (eventType, payload) => {
386386
387387
![Publisher Workflow](images/NetworkTraffic.png)
388388
389-
## Example Code: Hashing and Base-64 Encoding
389+
## Example Code: Hashing and Base64 Encoding
390390
391391
以下のコード例は、JavaScript でメールアドレスと電話番号のハッシュを生成する方法を示しています。
392392

0 commit comments

Comments
 (0)