Loading...
Searching...
No Matches
signature_utils.cpp File Reference
#include "common/crypto/signature_utils.h"
#include <cryptopp/eccrypto.h>
#include <cryptopp/hex.h>
#include <cryptopp/osrng.h>
#include <cryptopp/pssr.h>
#include <cryptopp/rsa.h>
#include <cryptopp/whrlpool.h>
#include <glog/logging.h>

Go to the source code of this file.

Namespaces

namespace  resdb
 
namespace  resdb::utils
 

Functions

bool resdb::utils::RsaVerifyString (const std::string &message, const std::string &public_key, const std::string &signature)
 
bool resdb::utils::ECDSAVerifyString (const std::string &message, const std::string &public_key, const std::string &signature)
 
std::string resdb::utils::RsaSignString (const std::string &private_key, const std::string &message)
 
std::string resdb::utils::ECDSASignString (const std::string &private_key, const std::string &message)