New to Telerik UI for WinForms? Start a free 30-day trial

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:

C#
public enum HashingAlgorithm

Fields

Identifies MD2, which is not supported for document password verification.

C#
MD2 = 1

Identifies MD4, which is not supported for document password verification.

C#
MD4 = 2

Identifies MD5, which is supported for document password verification.

C#
MD5 = 3

Indicates that no hashing algorithm is specified; this value is not supported for password verification.

C#
None = 0

Identifies SHA-1, which is supported for document password verification.

C#
SHA1 = 4

Identifies SHA-256, which is not supported for document password verification.

C#
SHA256 = 12

Identifies SHA-384, which is not supported for document password verification.

C#
SHA384 = 13

Identifies SHA-512, which is not supported for document password verification.

C#
SHA512 = 14

Sentinel for an unsupported algorithm; imported numeric identifiers are otherwise cast directly to this enum.

C#
Unsupported = 2147483647