/** * Enforces the protection passed in sheetProtection, with the specified password, * using sha512 (like Excel 2013). * * @param sheetProtection * @param password * @throws Xlsx4jException * @since 3.3.0 */ public void setSheetProtectionPassword(CTSheetProtection sheetProtection, String password) throws Xlsx4jException { setSheetProtection( sheetProtection, password, HashAlgorithm.sha512); }
/** * Enforces the protection passed in sheetProtection, with the specified password, * using sha512 (like Excel 2013). * * @param sheetProtection * @param password * @throws Xlsx4jException * @since 3.3.0 */ public void setSheetProtectionPassword(CTSheetProtection sheetProtection, String password) throws Xlsx4jException { setSheetProtection( sheetProtection, password, HashAlgorithm.sha512); }