<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA General Task//EN" "generalTask.dtd">
<task id="task_xjd_dlk_wq">
    <title>Configuring a Field Hasher</title>
    <taskbody>
        <context><indexterm>Field Hasher
            processor<indexterm>configuring</indexterm></indexterm>Configure a Field Hasher to
            encode sensitive data. You can hash the entire record or specific fields. You can also
            hash fields together to a target field or attribute header.</context>
        <steps id="steps_fsf_flk_wq">
            <step
                conref="../Reusable_Content/ReusableSteps.dita#task_kzs_5vz_sq/1stStep-ReqField-ErrorHandling">
                <cmd/>
            </step>
            <step id="SelectHashField">
                <cmd>To hash a field, click the <wintitle>Hash</wintitle> tab.</cmd>
            </step>
            <step>
                <cmd>To hash fields in place, configure the following <uicontrol>Hash in
                        Place</uicontrol> properties for each hash type that you want to use. Click
                        <uicontrol>Add</uicontrol> to use additional hash types.</cmd>
                <info>
                    <table frame="all" rowsep="1" colsep="1" id="table_d4v_fz5_lv">
                        <tgroup cols="2">
                            <colspec colname="c1" colnum="1" colwidth="1.5*"/>
                            <colspec colname="c2" colnum="2" colwidth="3.5*"/>
                            <thead>
                                <row>
                                    <entry>Hash in Place Property <xref
                                            href="FieldHasher-Methods.dita">
                                            <image href="../Graphics/icon_moreInfo.png" scale="10"
                                                id="image_f3b_khp_fs"/></xref></entry>
                                    <entry>Description</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>Fields to Hash</entry>
                                    <entry>One or more fields to hash with the same hash
                                        type.</entry>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashType">
                                    <entry/>
                                </row>
                            </tbody>
                        </tgroup>
                    </table>
                </info>
            </step>
            <step>
                <cmd>To hash one or more fields together and write them to a field or attribute
                    header, configure the following <uicontrol>Hash to Target
                    </uicontrol>properties. Click <uicontrol>Add</uicontrol> to hash additional
                    fields.</cmd>
                <info>
                    <table frame="all" rowsep="1" colsep="1" id="table_ozv_nnk_wq">
                        <tgroup cols="2">
                            <colspec colname="c1" colnum="1" colwidth="1.5*"/>
                            <colspec colname="c2" colnum="2" colwidth="3.5*"/>
                            <thead>
                                <row>
                                    <entry>Hash to Target Property  <xref
                                            href="FieldHasher-Methods.dita">
                                            <image href="../Graphics/icon_moreInfo.png" scale="10"
                                                id="image_qvf_wvh_mv"/></xref></entry>
                                    <entry>Description</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>Fields to Hash</entry>
                                    <entry>One or more fields to hash and write to a target field or
                                        header attribute.<p>If you enter more than one field, the
                                            processor hashes them together.</p></entry>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashType">
                                    <entry/>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashTargetField">
                                    <entry/>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashHeaderAtt">
                                    <entry/>
                                </row>
                            </tbody>
                        </tgroup>
                    </table>
                </info>
            </step>
            <step>
                <cmd>To hash the entire record, on the <uicontrol>Hash Record</uicontrol> tab,
                    configure the following properties:</cmd>
                <info>
                    <table frame="all" rowsep="1" colsep="1" id="table_ibg_cqc_mv">
                        <tgroup cols="2">
                            <colspec colname="c1" colnum="1" colwidth="1.5*"/>
                            <colspec colname="c2" colnum="2" colwidth="3.5*"/>
                            <thead>
                                <row>
                                    <entry>Hash Record Property  <xref
                                            href="FieldHasher-Methods.dita">
                                            <image href="../Graphics/icon_moreInfo.png" scale="10"
                                                id="image_dlx_wvh_mv"/></xref></entry>
                                    <entry>Description</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>Hash Entire Record</entry>
                                    <entry>Hashes the entire record and writes it to a target field,
                                        attribute header, or both.</entry>
                                </row>
                                <row>
                                    <entry>Include Record Header</entry>
                                    <entry>Includes the record header in the hash.</entry>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashTargetField">
                                    <entry/>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashHeaderAtt">
                                    <entry/>
                                </row>
                            </tbody>
                        </tgroup>
                    </table>
                </info>
            </step>
            <step>
                <cmd>To configure field-level error handling, click the <wintitle>Field Error
                        Handling</wintitle> tab and configure the following property:</cmd>
                <info>
                    <table frame="all" rowsep="1" colsep="1" id="table_kbk_vl3_mv">
                        <tgroup cols="2">
                            <colspec colname="c1" colnum="1" colwidth="1.5*"/>
                            <colspec colname="c2" colnum="2" colwidth="3.5*"/>
                            <thead>
                                <row>
                                    <entry>Field Error Handling Property</entry>
                                    <entry>Description</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>On Field Issue</entry>
                                    <entry>Determines the action if a record does not include values
                                        for the fields to hash:<ul id="ul_e4v_fz5_lv">
                                            <li>Continue - Passes nulls for the missing values.</li>
                                            <li>Send to Error - Passes the record to the pipeline
                                                for error handling.</li>
                                        </ul></entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </table>
                </info>
            </step>
        </steps>
    </taskbody>
</task>
<commit_msg>DOC-45 part 1 - error handling update<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA General Task//EN" "generalTask.dtd">
<task id="task_xjd_dlk_wq">
    <title>Configuring a Field Hasher</title>
    <taskbody>
        <context><indexterm>Field Hasher
            processor<indexterm>configuring</indexterm></indexterm>Configure a Field Hasher to
            encode sensitive data. You can hash the entire record or specific fields. You can also
            hash fields together to a target field or attribute header.</context>
        <steps id="steps_fsf_flk_wq">
            <step
                conref="../Reusable_Content/ReusableSteps.dita#task_kzs_5vz_sq/1stStep-ReqField-ErrorHandling">
                <cmd/>
            </step>
            <step id="SelectHashField">
                <cmd>To hash a field, click the <wintitle>Hash</wintitle> tab.</cmd>
            </step>
            <step>
                <cmd>To hash fields in place, configure the following <uicontrol>Hash in
                        Place</uicontrol> properties for each hash type that you want to use. Click
                        <uicontrol>Add</uicontrol> to use additional hash types.</cmd>
                <info>
                    <table frame="all" rowsep="1" colsep="1" id="table_d4v_fz5_lv">
                        <tgroup cols="2">
                            <colspec colname="c1" colnum="1" colwidth="1.5*"/>
                            <colspec colname="c2" colnum="2" colwidth="3.5*"/>
                            <thead>
                                <row>
                                    <entry>Hash in Place Property <xref
                                            href="FieldHasher-Methods.dita">
                                            <image href="../Graphics/icon_moreInfo.png" scale="10"
                                                id="image_f3b_khp_fs"/></xref></entry>
                                    <entry>Description</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>Fields to Hash</entry>
                                    <entry>One or more fields to hash with the same hash
                                        type.</entry>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashType">
                                    <entry/>
                                </row>
                            </tbody>
                        </tgroup>
                    </table>
                </info>
            </step>
            <step>
                <cmd>To hash one or more fields together and write them to a field or attribute
                    header, configure the following <uicontrol>Hash to Target
                    </uicontrol>properties. Click <uicontrol>Add</uicontrol> to hash additional
                    fields.</cmd>
                <info>
                    <table frame="all" rowsep="1" colsep="1" id="table_ozv_nnk_wq">
                        <tgroup cols="2">
                            <colspec colname="c1" colnum="1" colwidth="1.5*"/>
                            <colspec colname="c2" colnum="2" colwidth="3.5*"/>
                            <thead>
                                <row>
                                    <entry>Hash to Target Property  <xref
                                            href="FieldHasher-Methods.dita">
                                            <image href="../Graphics/icon_moreInfo.png" scale="10"
                                                id="image_qvf_wvh_mv"/></xref></entry>
                                    <entry>Description</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>Fields to Hash</entry>
                                    <entry>One or more fields to hash and write to a target field or
                                        header attribute.<p>If you enter more than one field, the
                                            processor hashes them together.</p></entry>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashType">
                                    <entry/>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashTargetField">
                                    <entry/>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashHeaderAtt">
                                    <entry/>
                                </row>
                            </tbody>
                        </tgroup>
                    </table>
                </info>
            </step>
            <step>
                <cmd>To configure field-level error handling, configure the following
                    property:</cmd>
                <info>
                    <table frame="all" rowsep="1" colsep="1" id="table_kbk_vl3_mv">
                        <tgroup cols="2">
                            <colspec colname="c1" colnum="1" colwidth="1.5*"/>
                            <colspec colname="c2" colnum="2" colwidth="3.5*"/>
                            <thead>
                                <row>
                                    <entry>Field Error Handling Property</entry>
                                    <entry>Description</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>On Field Issue</entry>
                                    <entry>Determines the action if a record does not include values
                                        for the fields to hash:<ul id="ul_e4v_fz5_lv">
                                            <li>Continue - Passes nulls for the missing values.</li>
                                            <li>Send to Error - Passes the record to the pipeline
                                                for error handling.</li>
                                        </ul></entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </table>
                </info>
            </step>
            <step>
                <cmd>To hash the entire record, on the <uicontrol>Hash Record</uicontrol> tab,
                    configure the following properties:</cmd>
                <info>
                    <table frame="all" rowsep="1" colsep="1" id="table_ibg_cqc_mv">
                        <tgroup cols="2">
                            <colspec colname="c1" colnum="1" colwidth="1.5*"/>
                            <colspec colname="c2" colnum="2" colwidth="3.5*"/>
                            <thead>
                                <row>
                                    <entry>Hash Record Property  <xref
                                            href="FieldHasher-Methods.dita">
                                            <image href="../Graphics/icon_moreInfo.png" scale="10"
                                                id="image_dlx_wvh_mv"/></xref></entry>
                                    <entry>Description</entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>Hash Entire Record</entry>
                                    <entry>Hashes the entire record and writes it to a target field,
                                        attribute header, or both.</entry>
                                </row>
                                <row>
                                    <entry>Include Record Header</entry>
                                    <entry>Includes the record header in the hash.</entry>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashTargetField">
                                    <entry/>
                                </row>
                                <row
                                    conref="../Reusable_Content/ReusableTables.dita#concept_wfr_rnw_yq/P-HashHeaderAtt">
                                    <entry/>
                                </row>
                            </tbody>
                        </tgroup>
                    </table>
                </info>
            </step>
        </steps>
    </taskbody>
</task>

{'fraction_non_alphanumeric': 0.08858227328682806, 'fraction_numerical': 0.006821912187115305, 'mean_word_length': 0.860933473322516, 'pattern_counts': {'":': 0, '<': 383, '<?xml version=': 2, '>': 383, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 124, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7321655', 'n_tokens_mistral': 4520, 'n_tokens_neox': 4220, 'n_words': 1046}