ImSQL
C++ 기반 SQL 자동화 및 라이선스 관리 엔진
Loading...
Searching...
No Matches
encrypt_aes256.hpp
Go to the documentation of this file.
1
6#pragma once
7
9#include <vector>
10#include <string>
11#include <cstdint>
12#include <algorithm>
13
14namespace secure::encrypt {
15
27bool encryptAES256(
28 const std::string& input,
29 const std::string& key,
30 std::vector<char>& output
31);
32
33
46bool encryptAES256(
47 const char* input,
48 size_t input_len,
49 const char* key,
50 const char* iv,
51 char* output,
52 int& output_len
53);
54
64bool decryptAES256(
65 const std::vector<char>& input,
66 const std::string& key,
67 std::string& output
68);
69
70
83bool decryptAES256(
84 const char* input, size_t input_len,
85 const char* key, const char* iv,
86 char* output, int& output_len);
87
88} // namespace secure::encrypt // end of encrypt
Ains Secure Library Common Headers.
bool decryptAES256(const std::vector< char > &input, const std::string &key, std::string &output)
AES256 복호화
Definition encrypt_aes256.cpp:77
bool encryptAES256(const std::string &input, const std::string &key, std::vector< char > &output)
AES256 암호화
Definition encrypt_aes256.cpp:17