Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hi,

On Tue, Jul 24, 2018 at 5:35 AM, Vikas Mahato <vikasmahato0@gmail.com> wrote:
Hello all,

I wanted to know how can we generate the encryption key for using wit
include/oox/crypto/CryptTools.hxx classes?

Well, you'll need to provide some context what exactly you want to do.
CryptTools.hxx just wraps common encryption tools provided by either
OpenSSL or NSS. Key generation (from a password for example) is then
the complicated part that differs from an algorithm to the other.
Simplest you could do is take a password, calculate the hash and use
that for the key, but that wouldn't be secure at all.

Thanks,
Vikas Mahato

Regards, Tomaž

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.