|
OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
|
#include <vector>#include <string>#include <cstdint>#include "OpenXLSX-Exports.hpp"#include "XLException.hpp"#include <gsl/span>Go to the source code of this file.
Namespaces | |
| namespace | OpenXLSX |
| namespace | OpenXLSX::Crypto |
Functions | |
| OPENXLSX_EXPORT bool | OpenXLSX::isEncryptedDocument (gsl::span< const uint8_t > data) |
| Checks if a given byte stream represents an OLE CFB document. | |
| OPENXLSX_EXPORT std::vector< uint8_t > | OpenXLSX::decryptDocument (gsl::span< const uint8_t > data, const std::string &password) |
| High-level API to decrypt an entire document from a buffer. | |
| OPENXLSX_EXPORT std::vector< uint8_t > | OpenXLSX::encryptDocument (gsl::span< const uint8_t > zipData, const std::string &password) |
| High-level API to encrypt a ZIP package into a CFB container. | |
| std::vector< uint8_t > | OpenXLSX::Crypto::readCfbStream (gsl::span< const uint8_t > data, const std::string &streamName) |
| std::vector< uint8_t > | OpenXLSX::Crypto::decryptAgilePackage (gsl::span< const uint8_t > encryptionInfo, gsl::span< const uint8_t > encryptedPackage, const std::string &password) |
| std::vector< uint8_t > | OpenXLSX::Crypto::encryptStandardPackage (gsl::span< const uint8_t > zipData, const std::string &password) |
| std::vector< uint8_t > | OpenXLSX::Crypto::encryptAgilePackage (gsl::span< const uint8_t > zipData, const std::string &password) |
| std::vector< uint8_t > | OpenXLSX::Crypto::decryptStandardPackage (gsl::span< const uint8_t > encryptionInfo, gsl::span< const uint8_t > encryptedPackage, const std::string &password) |
| std::vector< uint8_t > | OpenXLSX::Crypto::aes256CbcDecrypt (gsl::span< const uint8_t > data, gsl::span< const uint8_t > key, gsl::span< const uint8_t > iv) |
| std::vector< uint8_t > | OpenXLSX::Crypto::sha512Hash (gsl::span< const uint8_t > data) |
| std::vector< uint8_t > | OpenXLSX::Crypto::generateAgileHash (const std::string &password, gsl::span< const uint8_t > salt, int spinCount) |