Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README-RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ _install/
└── libhmac.a
```

Подключайте заголовки как `<hmac_cpp/...>`

Также в репозитории есть готовые `.bat`-файлы для сборки под MinGW: `build_*.bat`.

## 📦 MQL5-совместимость
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ _install/
└── libhmac_cpp.a
```

Include headers in your code as `<hmac_cpp/...>`

Predefined `.bat` scripts for MinGW builds are also available: `build_*.bat`.

After installation, the package can be found and linked in other projects using `find_package`:
Expand Down
4 changes: 2 additions & 2 deletions example.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <iostream>
#include <string>
#include <stdexcept>
#include "hmac_cpp/hmac.hpp"
#include "hmac_cpp/hmac_utils.hpp"
#include <hmac_cpp/hmac.hpp>
#include <hmac_cpp/hmac_utils.hpp>

void print_section(const std::string& title) {
std::cout << "=== " << title << " ===" << std::endl;
Expand Down
4 changes: 2 additions & 2 deletions example_pbkdf2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#include <string>
#include <vector>

#include "hmac_cpp/hmac.hpp"
#include "hmac_cpp/hmac_utils.hpp"
#include <hmac_cpp/hmac.hpp>
#include <hmac_cpp/hmac_utils.hpp>

static std::vector<uint8_t> from_hex(const std::string& hex) {
std::vector<uint8_t> out;
Expand Down
4 changes: 2 additions & 2 deletions example_streaming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <string>

// stream large files in chunks and verify
#include "hmac_cpp/hmac.hpp"
#include "hmac_cpp/hmac_utils.hpp"
#include <hmac_cpp/hmac.hpp>
#include <hmac_cpp/hmac_utils.hpp>

int main() {
const std::string key = "supersecret";
Expand Down
Loading