Encrypting fields
enables you to enter a secure value in a text field by encrypting, hashing, or masking. You can perform this using properties such as Store Encrypted, Store Hashed, or by masking a field value. The advantage of using these properties is that the information entered in the text fields can be stored safely and viewers will not have access to confidential information.
The difference between these properties is that Store Hashed and Store Encrypted can be enabled at text field level whereas masking cannot be enabled for an individual text field. Also, Store Hashed and masking are one way encrypted and can never be decrypted.
This topic describes the information about providing security to a text field using these options.
To encrypt a text field
You can encrypt a text field in a record definition using the Store Encrypted property available in the Record designer. With this property, value of the text field is encrypted on persisting in database but appears as clear text when shown in UI. So, important and confidential information is secured. The Store Encrypted property is available only for the text fields.
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application for which you want to encrypt record definition field.
- On the Records tab, select the record definition and click the record name.
- In the Record designer, select the field name that you want to encrypt.
- in the Details pane on the right side.
- In the field details, use the toggle key for the Store Encrypted property as shown in the following image and save the record.

The value of a field with this property set is stored as a encrypted in the database, but is not masked on your application UI.
To mask a text field
When you need to mask the value for a text field (for example, a password field), you set the Field ID property of the record to 102 or 123. These special field IDs can be used only once per record definition.
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application for which you want to mask record definition field.
- On the Records tab, select the record definition and click the record name.
- In the Record designer, select the field name for which you want to mask the value.
- In the Details pane, navigate to field details section.
- In Field ID, enter the value 102 or 123 as shown in the following image:

- In the Length field, enter 63.
- Save the record.
To verify a text field mask
- Create a view.
- Create a record instance for the record definition that contains the masked field (for example, a password field).
- Preview the view definition.
- Enter the value for the field and verify that the masked field value appears in the form of dots or asterisks.
To hash a text field
You can enable Store Hashed property for a newly created or already existing text field in a record definition. You can enable Store Hashed property only for text fields. After enabling this property, if you enter a value in the text field, it appears as dots or asterisks and not as clear text. A store hashed text value can never be decrypted. For a Store Hashed property, the field length should be 30 characters.
You cannot modify Store Hashed property on a customized and inherited text field. You cannot change it on record definitions like Join and Audit. For these record definitions, the Store Hashed property will always be the same as the one defined for their parent record definitions.
This property is useful when any crucial, highly secured information needs to be entered and stored.
For example, you can add a password or similar authentication parameter for every user. If the text field for the parameter is store hash enabled, the value entered for this parameter always appears as dots and never as a text.
For more information about PIN in Person data form, see Creating-or-modifying-Person-data.
- Log in to and navigate to the Workspace tab.
- Select the application where you want to create a new record definition.
- In a record definition, add a text field or go to any existing text field.
- For the text field, in the Details pane, enter all the details including Name, Field ID and so on.
- In Details pane, use the toggle key to enable the Store Hashed property.
- Enter Length as 30 as the field length of a Store Hashed property should be 30.
The following image shows the Length and Store Hashed fields:
- Click Save.
After you enable the Store Hashed property, if you go to Edit Data of the text field, and click New, a field will be present on the UI of the application. This field will have the same name as the Name entered in the text field details screen. If you enter any text in this field, it will appear as dots or asterisks.
You can also use the Store Hashed property to validate the PIN value of the requester.
For more information about validating PIN value, see Validating-and-verifying-a-PIN-value.
Related topic