Click or drag to resize
PicoXLSX

LowLevelGeneratePasswordHash Method

Method to generate an Excel internal password hash to protect workbooks or worksheets
This method is derived from the c++ implementation by Kohei Yoshida (http://kohei.us/2008/01/18/excel-sheet-protection-password-hash/)

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
Syntax
C#
public static string GeneratePasswordHash(
	string password
)

Parameters

password  String
Password string in UTF-8 to encrypt.

Return Value

String
16 bit hash as hex string.
See Also