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
8
namespace
faker::crypto
9
{
20
FAKER_CXX_EXPORT std::string
sha256
(std::optional<std::string> = std::nullopt);
21
32
FAKER_CXX_EXPORT std::string
md5
(std::optional<std::string> = std::nullopt);
33
}
faker::crypto
Definition
crypto.h:9
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.12.0