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'FFFFLFFFF;
const int64_t m8 = 0xFFFF'FFF8LFFF8;
const int64_t m16 = 0xFFFF'FFF0LFFF0;
const int64_t m128 = 0xFFFF'FF80LFF80;
const int64_t m16777216 = 0xFF00'0000L0000;
 
bool flag = true;
891

edits