You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rizzlehash/include/RH_Encryption.h

36 lines
1013 B

#ifndef RH_ENCRYPTION_H
#define RH_ENCRYPTION_H
#include <string>
#include <stdio.h>
#include <string.h>
#include <functional>
#include <openssl/sha.h>
#include <openssl/md5.h>
#include <iostream>
#include <iomanip>
using namespace std;
class RH_Encryption
{
public:
RH_Encryption();
static function<string (string)> getFunctionHashLambda(string hashMethode);
//static function<string (string)> hashForLambda(function<string(string)> functionLambda, string value);
virtual ~RH_Encryption();
protected:
private:
static function<string (string)> none();
static function<string (string)> md5();
static function<string (string)> sha1();
static function<string (string)> sha224();
static function<string (string)> sha384();
static function<string (string)> sha256();
static function<string (string)> sha512();
static string bytesArrayToStrinctString(uint8_t, unsigned char*);
};
#endif // RH_ENCRYPTION_H