spHash (Property) In french: mdpsHash
 Available only with these kinds of connection
The spHash property is used to: - Get the algorithm used for salting an item of type "Password". This property can be used for items of type "Password" defined in the data model editor or programmatically.
- Set the algorithm used for salting (only for "Password" items described programmatically).
// Describe the AFile file ... // Describe the "Password" item MyItem is Item Description MyItem.Name = "Password" MyItem.Type = hItemSecurePassword MyItem.spDerivation = SP_PBKDF2 MyItem.spHash = SP_SHA2_256 MyItem.spIterationCount = 20000 MyItem.spLength = 256 // Validate the description of the "Password" item HDescribeItem(AFile, MyItem) // Validate the description of AFile file ...
Syntax
Getting the algorithm used for salting an item of type "Password" Hide the details
<Salting algorithm> = <Data file>.<Item>.spHash
<Salting algorithm>: Integer constant Algorithm used for salting an item of type "Password":
| | SP_SHA2_256 | Secure Hash Algorithm 256 (SHA-256) is used. | SP_SHA2_512 | Secure Hash Algorithm 512 (SHA-512) is used. | SP_SHA3_256 | Secure Hash Algorithm 3-256 (SHA-3 256) is used. | SP_SHA3_512 | Secure Hash Algorithm 3-512 (SHA-3 512) is used. |
<Data file>: Character string Name of the file used. This name was defined in the data model editor or with the File Description type. <Item>: Character string Name of the item used. This name was defined in the data model editor or with the Item Description type.
Setting the algorithm used for salting a "Password" item (described programmatically) Hide the details
<Item>.spHash = <Salting algorithm>
<Item>: Character string Name of the item used. This name was defined by the Item Description type. <Salting algorithm>: Integer constant Algorithm used for salting an item of type "Password":
| | SP_SHA2_256 | Secure Hash Algorithm 256 (SHA-256) is used. | SP_SHA2_512 | Secure Hash Algorithm 512 (SHA-512) is used. | SP_SHA3_256 | Secure Hash Algorithm 3-256 (SHA-3 256) is used. | SP_SHA3_512 | Secure Hash Algorithm 3-512 (SHA-3 512) is used. |
This page is also available for…
|
|
|
|