|
|
|
|
|
spLength (Property) In french: mdpsTaille
Available only with these kinds of connection
Warning
From version 27 (77), spSize is kept for backward compatibility. This property is replaced by spLength.
The spLength property is used to: - Get the hash output length. This property can be used for items of type "Password" defined in the data model editor or programmatically.
- Set the hash output length (only for "Password" items defined programmatically).
...
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
HDescribeItem(AFile, MyItem)
...
Syntax
Get the hash output length ("Password" item) Hide the details
<Length> = <Data file>.<Item>.spLength
<Length>: Integer Hash output length (in bits). The key must be a multiple of 8, greater than 160 bits and less than 2048 bits. It is recommended to use a 256 or 512-bit key. <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 hash output length (item "Password" defined programmatically) Hide the details
<Item>.spLength = <Length>
<Item>: Character string Name of the item used. This name was defined by the Item Description type. <Length>: Integer Hash output length (in bits). The key must be a multiple of 8, greater than 160 bits and less than 2048 bits. It is recommended to use a 256 or 512-bit key.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|