mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
27 lines
700 B
C++
Executable File
27 lines
700 B
C++
Executable File
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
namespace xlnt {
|
|
|
|
std::vector<std::uint8_t> xaes_ecb_encrypt(
|
|
const std::vector<std::uint8_t> &input,
|
|
const std::vector<std::uint8_t> &key);
|
|
|
|
std::vector<std::uint8_t> xaes_ecb_decrypt(
|
|
const std::vector<std::uint8_t> &input,
|
|
const std::vector<std::uint8_t> &key);
|
|
|
|
std::vector<std::uint8_t> xaes_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> xaes_cbc_decrypt(
|
|
const std::vector<std::uint8_t> &input,
|
|
const std::vector<std::uint8_t> &key,
|
|
const std::vector<std::uint8_t> &iv);
|
|
|
|
} // namespace xlnt
|