Faker C++
Loading...
Searching...
No Matches
crypto.h
Go to the documentation of this file.
1#pragma once
2
3#include <optional>
4#include <string>
5
6#include "faker-cxx/export.h"
7
8namespace faker::crypto
9{
20FAKER_CXX_EXPORT std::string sha256(std::optional<std::string> = std::nullopt);
21
32FAKER_CXX_EXPORT std::string md5(std::optional<std::string> = std::nullopt);
33}
Definition crypto.h:9
FAKER_CXX_EXPORT std::string sha256(std::optional< std::string >=std::nullopt)
Returns a random SHA256 hash or hash of provided data.
FAKER_CXX_EXPORT std::string md5(std::optional< std::string >=std::nullopt)
Returns a random MD5 hash or hash of provided data.