From 0679cdf56c7ce5f66068249e4a0816bddf51f1b9 Mon Sep 17 00:00:00 2001 From: chatlanin Date: Thu, 10 Nov 2022 11:18:59 +0300 Subject: [PATCH] add example for validate uuid --- bin/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/main.cpp b/bin/main.cpp index 4f5670d..585aea8 100644 --- a/bin/main.cpp +++ b/bin/main.cpp @@ -255,7 +255,8 @@ int main(int argc, char *argv[]) hack::log()("security::generate_uuid"); {// ex: security::generate_uuid - hack::log()(hack::security::generate_uuid()); + auto uuid = hack::security::generate_uuid(); + hack::log()(uuid, hack::security::validate_uuid(uuid)); } hack::log()("============================================================");