mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-28 17:30:24 +01:00
A sheet or workbook protection password set in GridCraft is now kept as PasswordHash::Both: Excel's salted SHA-512 hash and the unsalted SHA-256 digest OpenDocument stores (PasswordHash::Sha256Digest). Unprotecting verifies it; XLSX writes the form it can store, and a digest alone keeps its protection without the password. Edit ranges keep only the SHA-512 form. The public gridcraft_model::b64 (with a bounded decode_limited) replaces the private base64 copies in engine io.rs, xlsx crypto.rs and xlsx testing.rs.