Merge pull request #4 from batmaninpink/phoenix
expose aes_decrypt for use elsewhere
This commit is contained in:
commit
b14a08d7fe
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