Merge branch 'master' of gitea.leonetienne.de:leonetienne/GCrypt

This commit is contained in:
Leonetienne 2022-05-20 10:19:45 +02:00
commit 985aca1ef0
No known key found for this signature in database
GPG Key ID: C33879CD92E9708C

View File

@ -42,7 +42,7 @@ An example on how to use GCrypt in a project is right in here: GCryptCLI.
### Working with strings ### Working with strings
```cpp ```cpp
using namespace Leonetienne:GCrypt; using namespace Leonetienne::GCrypt;
// Get some string // Get some string
const std::string input = "I am a super secret message!"; const std::string input = "I am a super secret message!";
@ -59,7 +59,7 @@ std::cout << decrypted << std::endl;
### Working with files ### Working with files
```cpp ```cpp
using namespace Leonetienne:GCrypt; using namespace Leonetienne::GCrypt;
// Encrypt // Encrypt
GCryptWrapper::EncryptFile("main.cpp", "main.cpp.crypt", "password1"); GCryptWrapper::EncryptFile("main.cpp", "main.cpp.crypt", "password1");