mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
29 lines
737 B
C++
Executable File
29 lines
737 B
C++
Executable File
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
namespace xlnt {
|
|
namespace detail {
|
|
|
|
std::vector<std::uint8_t> aes_ecb_encrypt(
|
|
const std::vector<std::uint8_t> &input,
|
|
const std::vector<std::uint8_t> &key);
|
|
|
|
std::vector<std::uint8_t> aes_ecb_decrypt(
|
|
const std::vector<std::uint8_t> &input,
|
|
const std::vector<std::uint8_t> &key);
|
|
|
|
std::vector<std::uint8_t> aes_cbc_encrypt(
|
|
const std::vector<std::uint8_t> &input,
|
|
const std::vector<std::uint8_t> &key,
|
|
const std::vector<std::uint8_t> &iv);
|
|
|
|
std::vector<std::uint8_t> aes_cbc_decrypt(
|
|
const std::vector<std::uint8_t> &input,
|
|
const std::vector<std::uint8_t> &key,
|
|
const std::vector<std::uint8_t> &iv);
|
|
|
|
} // namespace detail
|
|
} // namespace xlnt
|