Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetStrongProtectionInfo.HashValue Property

Specifies the hash value of a password used to protect a worksheet or the spreadsheet document structure.

#Declaration

Delphi
property HashValue: TBytes read; write;

#Property Value

Type
TBytes

#Remarks

This property supports the internal infrastructure and is not intended to be used directly from your code. The HashValue property value is calculated from the password string passed as the constructor‘s APassword parameter when an instance of the strong password protection provider is created. The CheckPassword function calculates the specified string’s hash value (by using the hashing algorithm, salt value, and the number of iterative runs specified by the HashAlgorithm, SaltValue, and SpinCount properties, respectively) and compares it to the HashValue property value.

Note

The HashValueAsString property returns the hash value as a Unicode string.

See Also