Faker C++
Loading...
Searching...
No Matches
Crypto.h File Reference
#include <optional>
#include <string>
#include "faker-cxx/Export.h"
Include dependency graph for Crypto.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  faker
 
namespace  faker::crypto
 

Functions

FAKER_CXX_EXPORT std::string faker::crypto::sha256 (std::optional< std::string >=std::nullopt)
 Returns a random SHA256 hash or hash of provided data.
 
FAKER_CXX_EXPORT std::string faker::crypto::md5 (std::optional< std::string >=std::nullopt)
 Returns a random MD5 hash or hash of provided data.