OpenWebNet password: Difference between revisions
m
Minor formatting of code.
(New post.) |
m (Minor formatting of code.) |
||
Line 77:
int64_t own_password_calculation(const int64_t& password, const std::string& nonce) {
const int64_t m1 = 0xFFFF'
const int64_t m8 = 0xFFFF'
const int64_t m16 = 0xFFFF'
const int64_t m128 = 0xFFFF'
const int64_t m16777216 = 0xFF00'
bool flag = true;
|