How to decrypt ods file

Michael Stahl mstahl at redhat.com
Mon Jan 4 08:38:43 PST 2016


On 25.12.2015 06:08, Zhang, William wrote:
> 
> Does anyone know how to decrypt an encrypted Libreoffice Calc file with
> Java or other languages? Or even some workarounds. Thanks a lot!

the Apache ODF Toolkit ODFDOM library supports ODF encryption, at least
with the "old" Blowfish/SHA1 algorithms that were used in LO <= 3.5 (i'm
not aware if anybody has added support for AES, which is used since LO
3.5).

http://incubator.apache.org/odftoolkit/odfdom/index.html

see the "password" parameter on the constructor of class
org.odftoolkit.odfdom.pkg.OdfPackage


More information about the LibreOffice mailing list