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
#include "faker-cxx/Export.h"
6
7
namespace
faker::crypto
8
{
19
FAKER_CXX_EXPORT std::string
sha256
(std::optional<std::string> = std::nullopt);
20
31
FAKER_CXX_EXPORT std::string
md5
(std::optional<std::string> = std::nullopt);
32
}
faker::crypto
Definition
Crypto.h:8
faker::crypto::sha256
FAKER_CXX_EXPORT std::string sha256(std::optional< std::string >=std::nullopt)
Returns a random SHA256 hash or hash of provided data.
faker::crypto::md5
FAKER_CXX_EXPORT std::string md5(std::optional< std::string >=std::nullopt)
Returns a random MD5 hash or hash of provided data.
include
faker-cxx
Crypto.h
Generated by
1.11.0