BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Namespaces | Functions
aes.hpp File Reference
#include <fc/crypto/sha512.hpp>
#include <fc/crypto/sha256.hpp>
#include <fc/fwd.hpp>
#include <fc/uint128.hpp>
#include <vector>

Go to the source code of this file.

Classes

class  fc::aes_encoder
 
class  fc::aes_decoder
 

Namespaces

 fc
 

Functions

unsigned fc::aes_encrypt (unsigned char *plaintext, int plaintext_len, unsigned char *key, unsigned char *iv, unsigned char *ciphertext)
 
unsigned fc::aes_decrypt (unsigned char *ciphertext, int ciphertext_len, unsigned char *key, unsigned char *iv, unsigned char *plaintext)
 
unsigned fc::aes_cfb_decrypt (unsigned char *ciphertext, int ciphertext_len, unsigned char *key, unsigned char *iv, unsigned char *plaintext)
 
std::vector< char > fc::aes_encrypt (const fc::sha512 &key, const std::vector< char > &plain_text)
 
std::vector< char > fc::aes_decrypt (const fc::sha512 &key, const std::vector< char > &cipher_text)
 
void fc::aes_save (const fc::path &file, const fc::sha512 &key, std::vector< char > plain_text)
 
std::vector< char > fc::aes_load (const fc::path &file, const fc::sha512 &key)