retdec
Namespaces | Functions
crypto.cpp File Reference

Crypto functions. More...

#include <climits>
#include <cmath>
#include <vector>
#include <openssl/md5.h>
#include <openssl/sha.h>
#include "retdec/fileformat/utils/crypto.h"
#include "retdec/utils/conversion.h"
#include "retdec/utils/crc32.h"

Namespaces

 retdec
 
 retdec::fileformat
 

Functions

std::string retdec::fileformat::getCrc32 (const unsigned char *data, std::uint64_t length)
 Count CRC32 of data. More...
 
std::string retdec::fileformat::getMd5 (const unsigned char *data, std::uint64_t length)
 Count MD5 of data. More...
 
std::string retdec::fileformat::getSha1 (const unsigned char *data, std::uint64_t length)
 Count SHA1 of data. More...
 
std::string retdec::fileformat::getSha256 (const unsigned char *data, std::uint64_t length)
 Count SHA256 of data. More...
 

Detailed Description

Crypto functions.