HashingAlgorithm
Identifies the hash algorithm stored in document-protection settings. The numeric values are serialized as
DOCX cryptAlgorithmSid identifiers; password verification supports only MD5 and SHA1.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public enum HashingAlgorithm
Fields
Identifies MD2, which is not supported for document password verification.
MD2 = 1
Identifies MD4, which is not supported for document password verification.
MD4 = 2
Identifies MD5, which is supported for document password verification.
MD5 = 3
Indicates that no hashing algorithm is specified; this value is not supported for password verification.
None = 0
Identifies SHA-1, which is supported for document password verification.
SHA1 = 4
Identifies SHA-256, which is not supported for document password verification.
SHA256 = 12
Identifies SHA-384, which is not supported for document password verification.
SHA384 = 13
Identifies SHA-512, which is not supported for document password verification.
SHA512 = 14
Sentinel for an unsupported algorithm; imported numeric identifiers are otherwise cast directly to this enum.
Unsupported = 2147483647