#ifndef _h_rsa_impl__
#define _h_rsa_impl__
#include <string>

class RsaImpl{
public:
    static bool generate_key_pairs(std::string& pubkey, std::string& prikey);
    std::string RSAPubDecrypt(const std::string& data, const std::string& pub_key);
    std::string RSAPriDecrypt(const std::string& data, const std::string& pub_key);

    std::string RSAPubEecrypt(const std::string& data, const std::string& pub_key);
    std::string RSAPriEecrypt(const std::string& data, const std::string& pri_key);
};


#endif  // _h_rsa_impl__

