Fix typo in code samples in readme

This commit is contained in:
Leon Etienne 2022-05-17 14:16:17 +02:00
parent 4015ee5dda
commit baf3190665

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");