Removed openssl dependancy for MD5 digests.

This commit is contained in:
Thulinma 2015-03-03 01:27:46 +01:00
parent 2283cf26e3
commit 353bb301ca
2 changed files with 94 additions and 54 deletions

View file

@ -2,14 +2,7 @@
#include <string>
namespace Secure {
class Auth {
private:
void * pubkey; ///< Holds the public key.
public:
Auth(); ///< Attempts to load the GBv2 public key.
bool PubKey_Check(std::string & data, std::string basesign); ///< Attempts to verify RSA signature using the public key.
};
std::string md5(std::string input); ///< Wrapper function for openssl MD5 implementation
std::string md5(std::string input);
std::string md5(const char * input, const unsigned int in_len);
}