OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
Loading...
Searching...
No Matches
OpenXLSX::Crypto Namespace Reference

Functions

std::vector< uint8_t > readCfbStream (gsl::span< const uint8_t > data, const std::string &streamName)
std::vector< uint8_t > decryptAgilePackage (gsl::span< const uint8_t > encryptionInfo, gsl::span< const uint8_t > encryptedPackage, const std::string &password)
std::vector< uint8_t > encryptStandardPackage (gsl::span< const uint8_t > zipData, const std::string &password)
std::vector< uint8_t > encryptAgilePackage (gsl::span< const uint8_t > zipData, const std::string &password)
std::vector< uint8_t > decryptStandardPackage (gsl::span< const uint8_t > encryptionInfo, gsl::span< const uint8_t > encryptedPackage, const std::string &password)
std::vector< uint8_t > aes256CbcDecrypt (gsl::span< const uint8_t > data, gsl::span< const uint8_t > key, gsl::span< const uint8_t > iv)
std::vector< uint8_t > sha512Hash (gsl::span< const uint8_t > data)
std::vector< uint8_t > generateAgileHash (const std::string &password, gsl::span< const uint8_t > salt, int spinCount)
std::vector< uint8_t > buildCFB (const std::vector< uint8_t > &info, const std::vector< uint8_t > &pkg)
std::string encodeB64 (gsl::span< const uint8_t > data)

Function Documentation

◆ aes256CbcDecrypt()

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 )

◆ buildCFB()

std::vector< uint8_t > OpenXLSX::Crypto::buildCFB ( const std::vector< uint8_t > & info,
const std::vector< uint8_t > & pkg )

◆ decryptAgilePackage()

std::vector< uint8_t > OpenXLSX::Crypto::decryptAgilePackage ( gsl::span< const uint8_t > encryptionInfo,
gsl::span< const uint8_t > encryptedPackage,
const std::string & password )

◆ decryptStandardPackage()

std::vector< uint8_t > OpenXLSX::Crypto::decryptStandardPackage ( gsl::span< const uint8_t > encryptionInfo,
gsl::span< const uint8_t > encryptedPackage,
const std::string & password )

◆ encodeB64()

std::string OpenXLSX::Crypto::encodeB64 ( gsl::span< const uint8_t > data)

◆ encryptAgilePackage()

std::vector< uint8_t > OpenXLSX::Crypto::encryptAgilePackage ( gsl::span< const uint8_t > zipData,
const std::string & password )

◆ encryptStandardPackage()

std::vector< uint8_t > OpenXLSX::Crypto::encryptStandardPackage ( gsl::span< const uint8_t > zipData,
const std::string & password )

◆ generateAgileHash()

std::vector< uint8_t > OpenXLSX::Crypto::generateAgileHash ( const std::string & password,
gsl::span< const uint8_t > salt,
int spinCount )

◆ readCfbStream()

std::vector< uint8_t > OpenXLSX::Crypto::readCfbStream ( gsl::span< const uint8_t > data,
const std::string & streamName )

◆ sha512Hash()

std::vector< uint8_t > OpenXLSX::Crypto::sha512Hash ( gsl::span< const uint8_t > data)