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