Fabcoin Core
0.16.2
P2P Digital Currency
|
#include "dll.h"
#include "aes.h"
#include "cryptlib.h"
#include "filters.h"
#include "md5.h"
#include "ripemd.h"
#include "rng.h"
#include "gzip.h"
#include "default.h"
#include "randpool.h"
#include "ida.h"
#include "base64.h"
#include "socketft.h"
#include "wait.h"
#include "factory.h"
#include "whrlpool.h"
#include "tiger.h"
#include "smartptr.h"
#include "ossig.h"
#include "trap.h"
#include "validate.h"
#include "bench.h"
#include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <locale>
#include <time.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
Go to the source code of this file.
Macros | |
#define | CRYPTOPP_DEFAULT_NO_DLL |
#define | CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 |
Functions | |
void | RegisterFactories () |
void | PrintSeedAndThreads (const std::string &seed) |
void | GenerateRSAKey (unsigned int keyLength, const char *privFilename, const char *pubFilename, const char *seed) |
string | RSAEncryptString (const char *pubFilename, const char *seed, const char *message) |
string | RSADecryptString (const char *privFilename, const char *ciphertext) |
void | RSASignFile (const char *privFilename, const char *messageFilename, const char *signatureFilename) |
bool | RSAVerifyFile (const char *pubFilename, const char *messageFilename, const char *signatureFilename) |
void | DigestFile (const char *file) |
void | HmacFile (const char *hexKey, const char *file) |
void | AES_CTR_Encrypt (const char *hexKey, const char *hexIV, const char *infile, const char *outfile) |
string | EncryptString (const char *plaintext, const char *passPhrase) |
string | DecryptString (const char *ciphertext, const char *passPhrase) |
void | EncryptFile (const char *in, const char *out, const char *passPhrase) |
void | DecryptFile (const char *in, const char *out, const char *passPhrase) |
void | SecretShareFile (int threshold, int nShares, const char *filename, const char *seed) |
void | SecretRecoverFile (int threshold, const char *outFilename, char *const *inFilenames) |
void | InformationDisperseFile (int threshold, int nShares, const char *filename) |
void | InformationRecoverFile (int threshold, const char *outFilename, char *const *inFilenames) |
void | GzipFile (const char *in, const char *out, int deflate_level) |
void | GunzipFile (const char *in, const char *out) |
void | Base64Encode (const char *infile, const char *outfile) |
void | Base64Decode (const char *infile, const char *outfile) |
void | HexEncode (const char *infile, const char *outfile) |
void | HexDecode (const char *infile, const char *outfile) |
void | ForwardTcpPort (const char *sourcePort, const char *destinationHost, const char *destinationPort) |
void | FIPS140_SampleApplication () |
void | FIPS140_GenerateRandomFiles () |
bool | Validate (int, bool, const char *) |
RandomNumberGenerator & | GlobalRNG () |
int CRYPTOPP_API | main (int argc, char *argv[]) |
template<class T , bool NON_NEGATIVE> | |
T | StringToValue (const std::string &str) |
template<> | |
int | StringToValue< int, true > (const std::string &str) |
SecByteBlock | HexDecodeString (const char *hex) |
Variables | |
const int | MAX_PHRASE_LENGTH =250 |
int(* | AdhocTest )(int argc, char *argv[]) = NULL |
void AES_CTR_Encrypt | ( | const char * | hexKey, |
const char * | hexIV, | ||
const char * | infile, | ||
const char * | outfile | ||
) |
void Base64Decode | ( | const char * | infile, |
const char * | outfile | ||
) |
void Base64Encode | ( | const char * | infile, |
const char * | outfile | ||
) |
void DecryptFile | ( | const char * | in, |
const char * | out, | ||
const char * | passPhrase | ||
) |
string DecryptString | ( | const char * | ciphertext, |
const char * | passPhrase | ||
) |
void DigestFile | ( | const char * | file | ) |
void EncryptFile | ( | const char * | in, |
const char * | out, | ||
const char * | passPhrase | ||
) |
string EncryptString | ( | const char * | plaintext, |
const char * | passPhrase | ||
) |
void FIPS140_GenerateRandomFiles | ( | ) |
void FIPS140_SampleApplication | ( | ) |
Definition at line 12 of file dlltest.cpp.
void ForwardTcpPort | ( | const char * | sourcePort, |
const char * | destinationHost, | ||
const char * | destinationPort | ||
) |
void GenerateRSAKey | ( | unsigned int | keyLength, |
const char * | privFilename, | ||
const char * | pubFilename, | ||
const char * | seed | ||
) |
RandomNumberGenerator& GlobalRNG | ( | ) |
void GunzipFile | ( | const char * | in, |
const char * | out | ||
) |
void GzipFile | ( | const char * | in, |
const char * | out, | ||
int | deflate_level | ||
) |
void HexDecode | ( | const char * | infile, |
const char * | outfile | ||
) |
SecByteBlock HexDecodeString | ( | const char * | hex | ) |
void HexEncode | ( | const char * | infile, |
const char * | outfile | ||
) |
void HmacFile | ( | const char * | hexKey, |
const char * | file | ||
) |
void InformationDisperseFile | ( | int | threshold, |
int | nShares, | ||
const char * | filename | ||
) |
void InformationRecoverFile | ( | int | threshold, |
const char * | outFilename, | ||
char *const * | inFilenames | ||
) |
int CRYPTOPP_API main | ( | int | argc, |
char * | argv[] | ||
) |
void PrintSeedAndThreads | ( | const std::string & | seed | ) |
void RegisterFactories | ( | ) |
string RSADecryptString | ( | const char * | privFilename, |
const char * | ciphertext | ||
) |
string RSAEncryptString | ( | const char * | pubFilename, |
const char * | seed, | ||
const char * | message | ||
) |
void RSASignFile | ( | const char * | privFilename, |
const char * | messageFilename, | ||
const char * | signatureFilename | ||
) |
bool RSAVerifyFile | ( | const char * | pubFilename, |
const char * | messageFilename, | ||
const char * | signatureFilename | ||
) |
void SecretRecoverFile | ( | int | threshold, |
const char * | outFilename, | ||
char *const * | inFilenames | ||
) |
void SecretShareFile | ( | int | threshold, |
int | nShares, | ||
const char * | filename, | ||
const char * | seed | ||
) |
T StringToValue | ( | const std::string & | str | ) |
int StringToValue< int, true > | ( | const std::string & | str | ) |
bool Validate | ( | int | alg, |
bool | thorough, | ||
const char * | seedInput | ||
) |