expose aes_decrypt for use elsewhere
This commit is contained in:
parent
c72ed39acd
commit
ccd2bbe7b2
1 changed files with 2 additions and 0 deletions
|
|
@ -39,6 +39,8 @@ namespace fc {
|
|||
|
||||
int aes_encrypt(unsigned char *plaintext, int plaintext_len, unsigned char *key,
|
||||
unsigned char *iv, unsigned char *ciphertext);
|
||||
int aes_decrypt(unsigned char *ciphertext, int ciphertext_len, unsigned char *key,
|
||||
unsigned char *iv, unsigned char *plaintext);
|
||||
|
||||
std::vector<char> aes_encrypt( const fc::sha512& key, const std::vector<char>& plain_text );
|
||||
std::vector<char> aes_decrypt( const fc::sha512& key, const std::vector<char>& cipher_text );
|
||||
|
|
|
|||
Loading…
Reference in a new issue