|
easyVim
1.0
a simple vim-like text editor
|
easyVim加密解密模块 More...
#include <string>#include <vector>

Go to the source code of this file.
Enumerations | |
| enum | ev::EV_ENCRYPT_TYPE { ev::EV_ENCRYPT_AES_BEGIN = 0 , ev::EV_ENCRYPT_AES_NBEGIN = 1 } |
| enum | ev::EV_DECRYPT_TYPE { ev::EV_DECRYPT_AES_BEGIN = 0 , ev::EV_DECRYPT_AES_NBEGIN = 1 } |
Functions | |
| bool | ev::encrypt (std::vector< std::string > *input, std::vector< std::string > *output, std::string key, EV_ENCRYPT_TYPE evType) |
| bool | ev::decrypt (std::vector< std::string > *input, std::vector< std::string > *output, std::string key, EV_DECRYPT_TYPE evType) |
| std::string | ev::md5 (std::string input) |
| void | ev::aes_encrypt (std::vector< std::string > *input, std::vector< std::string > *output, std::string key) |
| void | ev::aes_decrypt (std::vector< std::string > *input, std::vector< std::string > *output, std::string key) |
easyVim加密解密模块
定义了easyVim用于加密解密的相关函数和类
| enum ev::EV_DECRYPT_TYPE |
| enum ev::EV_ENCRYPT_TYPE |
| void ev::aes_encrypt | ( | std::vector< std::string > * | input, |
| std::vector< std::string > * | output, | ||
| std::string | key | ||
| ) |
@function aes128位加密算法
| bool ev::decrypt | ( | std::vector< std::string > * | input, |
| std::vector< std::string > * | output, | ||
| std::string | key, | ||
| EV_DECRYPT_TYPE | evType = EV_DECRYPT_AES_BEGIN |
||
| ) |
@function 解密接口
| bool ev::encrypt | ( | std::vector< std::string > * | input, |
| std::vector< std::string > * | output, | ||
| std::string | key, | ||
| EV_ENCRYPT_TYPE | evType = EV_ENCRYPT_AES_BEGIN |
||
| ) |
@function 加密接口
| std::string ev::md5 | ( | std::string | input | ) |
@function md5加密算法