forked from Asherda/Go-VerusHash
-
Notifications
You must be signed in to change notification settings - Fork 2
/
verushash.h
22 lines (20 loc) · 875 Bytes
/
verushash.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//-----------------------------------------------------------------------------
// Hash is a simple wrapper around the VerusCoin verus_hash algorithms.
// It is intended for use in the go lightwalletd project.
// Written by David Dawes, and is placed in the public
// domain. The author hereby disclaims copyright to this source code.
#ifndef _VERUSHASH_H_
#define _VERUSHASH_H_/* File : veruhash.h */
#include <stdio.h>
#include <string>
class Verushash {
public:
bool initialized = false;
void initialize();
void verushash(const char * bytes, int length, void * ptrResult);
void verushash_v2(const char * bytes, int length, void * ptrResult);
void verushash_v2b(const char * bytes, int length, void * ptrResult);
void verushash_v2b1(std::string bytes, int length, void * ptrResult);
void verushash_v2b2(std::string const bytes, void * ptrResult);
};
#endif