From c578a614f5c85bb94287ca413f5d83efb759f5d1 Mon Sep 17 00:00:00 2001 From: cieslarmichal Date: Tue, 21 Nov 2023 15:13:08 +0000 Subject: [PATCH] deploy: b1fc9b81d51687ac9321bc8ad5c393541d55ff3d --- Crypto_8h_source.html | 138 ++++++++++++++++ annotated.html | 63 +++---- annotated_dup.js | 1 + classes.html | 2 +- classfaker_1_1Crypto-members.html | 112 +++++++++++++ classfaker_1_1Crypto.html | 190 ++++++++++++++++++++++ dir_21275a4f97039163a157995766de70c2.html | 2 + dir_21275a4f97039163a157995766de70c2.js | 1 + files.html | 49 +++--- functions_func_m.html | 1 + functions_func_s.html | 1 + functions_m.html | 1 + functions_s.html | 1 + navtreeindex0.js | 112 ++++++------- search/all_10.js | 37 +++-- search/all_2.js | 9 +- search/all_b.js | 25 +-- search/classes_2.js | 3 +- search/functions_10.js | 33 ++-- search/functions_b.js | 19 ++- 20 files changed, 629 insertions(+), 171 deletions(-) create mode 100644 Crypto_8h_source.html create mode 100644 classfaker_1_1Crypto-members.html create mode 100644 classfaker_1_1Crypto.html diff --git a/Crypto_8h_source.html b/Crypto_8h_source.html new file mode 100644 index 000000000..1eded9f51 --- /dev/null +++ b/Crypto_8h_source.html @@ -0,0 +1,138 @@ + + + + + + + +Faker C++: include/faker-cxx/Crypto.h Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Faker C++ +
+
C++ Faker library for generating testing data
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Crypto.h
+
+
+
1#pragma once
+
2
+
3#include <array>
+
4#include <cstdint>
+
5#include <cstring>
+
6#include <iomanip>
+
7#include <optional>
+
8#include <sstream>
+
9#include <string>
+
10
+
11namespace faker
+
12{
+
+
13class Crypto
+
14{
+
15public:
+
26 static std::string sha256(std::optional<std::string> = std::nullopt);
+
27
+
38 static std::string md5(std::optional<std::string> = std::nullopt);
+
39};
+
+
40}
+
Definition Crypto.h:14
+
static std::string sha256(std::optional< std::string >=std::nullopt)
Returns a random SHA256 hash or hash of provided data.
+
static std::string md5(std::optional< std::string >=std::nullopt)
Returns a random MD5 hash or hash of provided data.
+
+
+ + + + diff --git a/annotated.html b/annotated.html index 1f0ad0f1a..8b978b25f 100644 --- a/annotated.html +++ b/annotated.html @@ -110,37 +110,38 @@  CCommerce  CCompany  CCronOptions - CDatabase - CDatatype - CDate - CFileOptions - CFinance - CFood - CGit - CHacker - CHelper - CWeightedElement - CImage - CInternet - CLocation - CLorem - CMedicine - CMovie - CMusic - CNetworkInterfaceOptions - CNumber - CPerson - CPhone - CSport - CString - CSystem - CVideoGame - CWeather - CPressure - CTemperature - CVisibility - CWindSpeed - CWord + CCrypto + CDatabase + CDatatype + CDate + CFileOptions + CFinance + CFood + CGit + CHacker + CHelper + CWeightedElement + CImage + CInternet + CLocation + CLorem + CMedicine + CMovie + CMusic + CNetworkInterfaceOptions + CNumber + CPerson + CPhone + CSport + CString + CSystem + CVideoGame + CWeather + CPressure + CTemperature + CVisibility + CWindSpeed + CWord diff --git a/annotated_dup.js b/annotated_dup.js index cf316615e..29a8ab803 100644 --- a/annotated_dup.js +++ b/annotated_dup.js @@ -9,6 +9,7 @@ var annotated_dup = [ "Commerce", "classfaker_1_1Commerce.html", null ], [ "Company", "classfaker_1_1Company.html", null ], [ "CronOptions", "structfaker_1_1CronOptions.html", null ], + [ "Crypto", "classfaker_1_1Crypto.html", null ], [ "Database", "classfaker_1_1Database.html", null ], [ "Datatype", "classfaker_1_1Datatype.html", null ], [ "Date", "classfaker_1_1Date.html", null ], diff --git a/classes.html b/classes.html index 7dc54cbc6..c4e37e458 100644 --- a/classes.html +++ b/classes.html @@ -105,7 +105,7 @@
Book (faker)
C
-
CharCount (faker)
Color (faker)
Commerce (faker)
Company (faker)
CronOptions (faker)
+
CharCount (faker)
Color (faker)
Commerce (faker)
Company (faker)
CronOptions (faker)
Crypto (faker)
D
Database (faker)
Datatype (faker)
Date (faker)
diff --git a/classfaker_1_1Crypto-members.html b/classfaker_1_1Crypto-members.html new file mode 100644 index 000000000..d5aea92ca --- /dev/null +++ b/classfaker_1_1Crypto-members.html @@ -0,0 +1,112 @@ + + + + + + + +Faker C++: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Faker C++ +
+
C++ Faker library for generating testing data
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
faker::Crypto Member List
+
+
+ +

This is the complete list of members for faker::Crypto, including all inherited members.

+ + + +
md5(std::optional< std::string >=std::nullopt)faker::Cryptostatic
sha256(std::optional< std::string >=std::nullopt)faker::Cryptostatic
+
+ + + + diff --git a/classfaker_1_1Crypto.html b/classfaker_1_1Crypto.html new file mode 100644 index 000000000..c8bee381e --- /dev/null +++ b/classfaker_1_1Crypto.html @@ -0,0 +1,190 @@ + + + + + + + +Faker C++: faker::Crypto Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Faker C++ +
+
C++ Faker library for generating testing data
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
faker::Crypto Class Reference
+
+
+ + + + + + + + +

+Static Public Member Functions

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

Member Function Documentation

+ +

◆ md5()

+ +
+
+ + + + + +
+ + + + + + + + +
static std::string faker::Crypto::md5 (std::optional< std::string >  = std::nullopt)
+
+static
+
+ +

Returns a random MD5 hash or hash of provided data.

+
Returns
MD5 hash string.
+
Crypto::md5("hello world") // "5eb63bbbe01eeed093cb22bb8f5acdc3"
+
Crypto::md5() // Random hash of random word
+
Definition Crypto.h:14
+
static std::string md5(std::optional< std::string >=std::nullopt)
Returns a random MD5 hash or hash of provided data.
+
+
+
+ +

◆ sha256()

+ +
+
+ + + + + +
+ + + + + + + + +
static std::string faker::Crypto::sha256 (std::optional< std::string >  = std::nullopt)
+
+static
+
+ +

Returns a random SHA256 hash or hash of provided data.

+
Returns
SHA256 hash string.
+
Crypto::sha256("hello world") // "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
+
Crypto::sha256() // Random hash of random word
+
static std::string sha256(std::optional< std::string >=std::nullopt)
Returns a random SHA256 hash or hash of provided data.
+
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/dir_21275a4f97039163a157995766de70c2.html b/dir_21275a4f97039163a157995766de70c2.html index a57a97864..c68c945bd 100644 --- a/dir_21275a4f97039163a157995766de70c2.html +++ b/dir_21275a4f97039163a157995766de70c2.html @@ -119,6 +119,8 @@    Company.h   + Crypto.h Database.h    Datatype.h diff --git a/dir_21275a4f97039163a157995766de70c2.js b/dir_21275a4f97039163a157995766de70c2.js index a84362408..4bb2384c2 100644 --- a/dir_21275a4f97039163a157995766de70c2.js +++ b/dir_21275a4f97039163a157995766de70c2.js @@ -6,6 +6,7 @@ var dir_21275a4f97039163a157995766de70c2 = [ "Color.h", "Color_8h_source.html", null ], [ "Commerce.h", "Commerce_8h_source.html", null ], [ "Company.h", "Company_8h_source.html", null ], + [ "Crypto.h", "Crypto_8h_source.html", null ], [ "Database.h", "Database_8h_source.html", null ], [ "Datatype.h", "Datatype_8h_source.html", null ], [ "Date.h", "Date_8h_source.html", null ], diff --git a/files.html b/files.html index 1ac5dc01e..ddb031185 100644 --- a/files.html +++ b/files.html @@ -105,30 +105,31 @@  Color.h  Commerce.h  Company.h - Database.h - Datatype.h - Date.h - Finance.h - Food.h - Git.h - Hacker.h - Helper.h - Image.h - Internet.h - Location.h - Lorem.h - Medicine.h - Movie.h - Music.h - Number.h - Person.h - Phone.h - Sport.h - String.h - System.h - VideoGame.h - Weather.h - Word.h + Crypto.h + Database.h + Datatype.h + Date.h + Finance.h + Food.h + Git.h + Hacker.h + Helper.h + Image.h + Internet.h + Location.h + Lorem.h + Medicine.h + Movie.h + Music.h + Number.h + Person.h + Phone.h + Sport.h + String.h + System.h + VideoGame.h + Weather.h + Word.h diff --git a/functions_func_m.html b/functions_func_m.html index a590c6e2a..279c85048 100644 --- a/functions_func_m.html +++ b/functions_func_m.html @@ -98,6 +98,7 @@

- m -